Skip to content
Get started

Delete

projects.api_keys.delete(strkey_id, APIKeyDeleteParams**kwargs) -> object
DELETE/projects/{projectId}/api-keys/{keyId}

Delete a particular api key

ParametersExpand Collapse
project_id: str
key_id: str
ReturnsExpand Collapse
object

Delete

import os
from scenario_sdk import Scenario

client = Scenario(
    api_key=os.environ.get("SCENARIO_SDK_API_KEY"),  # This is the default and can be omitted
    api_secret=os.environ.get("SCENARIO_SDK_API_SECRET"),  # This is the default and can be omitted
)
api_key = client.projects.api_keys.delete(
    key_id="keyId",
    project_id="projectId",
)
print(api_key)
{}
Returns Examples
{}