/ Platform API
Platform API
    Chat Platform API v3
    Chat Platform API
    Chat Platform API
    Version 3

    Revoke a secondary API token

    Copy link

    Revokes a secondary API token.

    Note: You can't revoke secondary API tokens unless requesting with the master API token. Also, the master API token can't be revoked.


    HTTP request

    Copy link
    DELETE https://api-{application_id}.sendbird.com/v3/applications/api_tokens/{api_token}
    

    Note: If you are using the in-app channel in Delight AI agent, the endpoint for your API request should start with https://api-{application_id}.svc.delight.ai/v3 instead of https://api-{application_id}.sendbird.com/v3. For more details, refer to our Delight AI agent guide.


    Response

    Copy link

    If successful, this action returns an empty response body.

    In the case of an error, an error object is returned. A detailed list of error codes is available here.