Delete API-Key

/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 ParameterTypeDescription
key_to_deletestringIdentifies the API key to be deleted.

A response parameter is described below.

Response ParameterTypeDescription
errorintIndicates 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.


from uplynk_api2_auth import Call

print(Call('/api2/owners/api-key/delete', key_to_delete='b846d67fb5125796cd85d1b486347dd6'))

{
    "error" : 0
}