ManagedGrafana.Client.
delete_workspace_api_key
(**kwargs)¶Deletes a Grafana API key for the workspace.
See also: AWS API Documentation
Request Syntax
response = client.delete_workspace_api_key(
keyName='string',
workspaceId='string'
)
[REQUIRED]
The name of the API key to delete.
[REQUIRED]
The ID of the workspace to delete.
dict
Response Syntax
{
'keyName': 'string',
'workspaceId': 'string'
}
Response Structure
(dict) --
keyName (string) --
The name of the key that was deleted.
workspaceId (string) --
The ID of the workspace where the key was deleted.
Exceptions
ManagedGrafana.Client.exceptions.ResourceNotFoundException
ManagedGrafana.Client.exceptions.ThrottlingException
ManagedGrafana.Client.exceptions.ConflictException
ManagedGrafana.Client.exceptions.ValidationException
ManagedGrafana.Client.exceptions.AccessDeniedException
ManagedGrafana.Client.exceptions.InternalServerException