ManagedGrafana / Client / delete_workspace_service_account
delete_workspace_service_account#
- ManagedGrafana.Client.delete_workspace_service_account(**kwargs)#
Deletes a workspace service account from the workspace.
This will delete any tokens created for the service account, as well. If the tokens are currently in use, the will fail to authenticate / authorize after they are deleted.
Service accounts are only available for workspaces that are compatible with Grafana version 9 and above.
See also: AWS API Documentation
Request Syntax
response = client.delete_workspace_service_account( serviceAccountId='string', workspaceId='string' )
- Parameters:
serviceAccountId (string) –
[REQUIRED]
The ID of the service account to delete.
workspaceId (string) –
[REQUIRED]
The ID of the workspace where the service account resides.
- Return type:
dict
- Returns:
Response Syntax
{ 'serviceAccountId': 'string', 'workspaceId': 'string' }
Response Structure
(dict) –
serviceAccountId (string) –
The ID of the service account deleted.
workspaceId (string) –
The ID of the workspace where the service account was deleted.
Exceptions