Delete SubAccount API Key

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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.

📘

Authorization

Only 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

NameInTypeRequiredDescription
AuthorizationheaderstringYesPanda API token (without Bearer prefix)

Query Parameters

NameTypeRequiredDescription
isSubaccountbooleanYesMust be true (lowercase) to target a sub-account
userIdstring (uuid)YesSub-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 (via GET /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'
Path Params
string
required
string
required
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json