{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-managed-grafana/refs/heads/main/json-schema/amazon-managed-grafana-create-workspace-api-key-request-schema.json", "title": "CreateWorkspaceApiKeyRequest", "description": "CreateWorkspaceApiKeyRequest schema from Amazon Managed Grafana API", "type": "object", "properties": { "keyName": { "allOf": [ { "$ref": "#/components/schemas/ApiKeyName" }, { "description": "Specifies the name of the key. Keynames must be unique to the workspace." } ] }, "keyRole": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "
Specifies the permission level of the key.
Valid values: VIEWER|EDITOR|ADMIN