This mutation allows the user API key to be deleted.
Sample Mutation
Delete a User API Key:
mutation{
deleteUserAPIKey(keyId: "f0e9a56e-0f65-4f10-89d7-0fe005256706")
}
Sample Response
{
"data": {
"deleteUserAPIKey": true
}
}
Arguments
Name | Type | Description | Required |
---|---|---|---|
keyId | UUID | The key ID. | Yes |
Returns
Name | Type | Description |
---|---|---|
N/A | Boolean | Confirmation whether the API key is deleted. |
Example
Delete the existing User API Key using Key ID: