/owners/api-key/delete
Deletes an API key.
Deleting an API key takes effect immediately. Any tokenized playback URLs generated with this key will be immediately invalidated.
A request parameter is described below.
Request Parameter | Type | Description |
---|---|---|
key_to_delete | string | Identifies the API key to be deleted. |
A response parameter is described below.
Response Parameter | Type | Description |
---|---|---|
error | int | Indicates either an error code or 0 to indicate the API key's status was deleted. |
Sample request/response:
The Call() function, which is imported from API Auth
(see below), prepares the message body and digital signature.
🔓
API Auth
Open Recipe
from uplynk_api2_auth import Call
print(Call('/api2/owners/api-key/delete', key_to_delete='b846d67fb5125796cd85d1b486347dd6'))
{
"error" : 0
}