delete
https://api-v2.pandavideo.com.br/user/apikey?isSubaccount=&userId=
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
DELETE /user/apikey
Deletes the API key of a sub-account. Once deleted, the sub-account can no longer authenticate via API until a new key is generated.
AuthorizationOnly parent accounts can delete API keys for their sub-accounts. The sub-account must be owned by the authenticated parent.
HTTP Method & Path
DELETE /user/apikey?isSubaccount=true&userId={subaccount_id}
Base URL: https://api-v2.pandavideo.com.br
Authentication Requirements
- Security Scheme:
PandaAuth(apiKey) - Header:
Authorization: <your_api_token>(no Bearer prefix)
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Authorization | header | string | Yes | Panda API token (without Bearer prefix) |
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
isSubaccount | boolean | Yes | Must be true (lowercase) to target a sub-account |
userId | string (uuid) | Yes | Sub-account whose API key will be deleted |
Deleting a non-existent key errors. If the sub-account has no API key, the request fails with 500 (there is no idempotent no-op / 404 for this case). Confirm a key exists (viaGET /user/apikey) before deleting.
There is no request body.
Response
Success Response (200)
The body is a bare JSON string (not an object):
"apikey successfull deleted"(The message spelling — successfull — is returned as-is by the API.)
Error Responses
- 400 Bad Request — missing/invalid query params or ownership failures (
"subaccount does not belong to the user", etc.). - 401 Unauthorized — Invalid or missing API token.
- 500 Internal Server Error — server error, including when the sub-account has no API key to delete.
Example Usage
cURL
curl -X DELETE \
'https://api-v2.pandavideo.com.br/user/apikey?isSubaccount=true&userId=your_subaccount_id_here' \
-H 'Authorization: your_api_token_here'