Revoke the specified API key
users_delete_api_keys(id, key_id)
id | string required. The ID of the user or 'me'. |
---|---|
key_id | integer required. The ID of the API key. |
A list containing the following elements:
integer, The ID of the API key.
string, The name of the API key.
string, The date and time when the key expired.
string, The date and time when the key was created.
string, The date and time when the key was revoked.
string, The date and time when the key was last used.
array, The scopes which the key is permissioned on.
integer, The number of times the key has been used.
boolean, True if the key has expired.
boolean, True if the key has neither expired nor been revoked.
array, An array containing the following fields:
constraint string, The path matcher of the constraint.
constraintType string, The type of constraint (exact/prefix/regex/verb).
getAllowed boolean, Whether the constraint allows GET requests.
headAllowed boolean, Whether the constraint allows HEAD requests.
postAllowed boolean, Whether the constraint allows POST requests.
putAllowed boolean, Whether the constraint allows PUT requests.
patchAllowed boolean, Whether the constraint allows PATCH requests.
deleteAllowed boolean, Whether the constraint allows DELETE requests.