Skip to main content
DELETE
/
apikeys
/
{apiKey}
Delete
curl --request DELETE \
  --url https://{appId}.api-{region}.cometchat.io/v3/apikeys/{apiKey} \
  --header 'apikey: <api-key>'
{
  "data": {
    "success": true,
    "message": "The Api Key fcf32d085482db7ef10e971967d70a91cdb6677a has been deleted successfully."
  }
}
For the complete error reference, see Error Guide.

Authorizations

apikey
string
header
required

API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).

Path Parameters

apiKey
string
required

An apikey to delete.

Response

200 - application/json

A list of api keys

data
object