Skip to main content

Deleting a key

Deleting an API Key.

In order to eliminate an API key it´s sent a DELETE request as shown below:

URL

https://api.bembit.com/api/v1/users/credentials/{id}

cURL

curl -X 'DELETE' \
'https://api.bembit.com/api/v1/users/credentials/{id}' \
-H 'accept: */*' \
-H 'api: {Your API}' \
-H 'secret: {Your secret}'

Method

DELETE

Params

ParamTypeDefault valuesDescription
apistringundefinedAPI Key obtained from the platform.
secretstringundefinedSecret obtained from the platform.
idstringundefinedIdentificador da chave, obtido na criação do acesso.
Important

The parameters for this request should be passed to the endpoint via headers, except for the Key ID, which should be directly embedded in the URI path as shown here.

Server response:

Status 200:

Success

Status 403:

Unauthorized

See this in action on Swagger.