Update 10DLC API key
On this page
GraphQL endpoint: /company
Updates the name/label of a 10DLC API key owned by the company. Only keys owned by the company can be updated.
Query
mutation ($id: String!, $name: String!) {
updateTenDlcApiKey(id: $id, name: $name) {
id
name
apiKeyId
apiKeyType
companyId
insertedAt
updatedAt
}
}
Variables
{
"id": "00000000-0000-4000-8000-000000000002",
"name": "New Name"
}
Response
{
"data": {
"updateTenDlcApiKey": {
"apiKeyId": "test_key_DZXBJ5OOR7AWVB6G",
"apiKeyType": "OWNED",
"companyId": "00000000-0000-4000-8000-000000000001",
"id": "00000000-0000-4000-8000-000000000002",
"insertedAt": "2026-01-15T09:00:00",
"name": "New Name",
"updatedAt": "2026-01-15T09:00:00"
}
}
}