DELETE
/
iam
/
clients
/
{clientId}
/
tokens
/
{tokenId}
Python
import os
from gcore import Gcore

client = Gcore(
    api_key=os.environ.get("GCORE_API_KEY"),  # This is the default and can be omitted
)
client.iam.api_tokens.delete(
    token_id=0,
    client_id=0,
)

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

clientId
integer
required

Account ID.

tokenId
integer
required

API token ID.

Response

204

API token has been successfully deleted.