{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To update Spaces Access Key, send a PUT or PATCH request to `/v2/spaces/keys/$ACCESS_KEY`. At the moment, you cannot convert a\nfullaccess key to a scoped key or vice versa. You can only update the name of the key.\n","properties":{"path":{"type":"object","properties":{"access_key":{"type":"string","examples":["DOACCESSKEYEXAMPLE"],"description":"The access key's ID."}},"required":["access_key"],"additionalProperties":false},"body":{"$ref":"#/definitions/key","examples":[{"name":"new-key-name"}]}},"required":["path","body"],"additionalProperties":false,"definitions":{"key":{"type":"object","properties":{"name":{"type":"string","description":"The access key's name.","examples":["my-access-key"]},"grants":{"type":"array","description":"The list of permissions for the access key.","items":{"$ref":"#/definitions/grant"},"default":[]}}},"grant":{"type":"object","properties":{"bucket":{"type":"string","description":"The name of the bucket.","examples":["my-bucket"]},"permission":{"type":"string","description":"The permission to grant to the user. Possible values are `read`, `readwrite`, `fullaccess`, or an empty string.","examples":["read"]}},"required":["bucket","permission"]}}},"name":"Update Spaces Access Keys","id":"digitalocean.spaceskey_update","example":{"path":{"access_key":"DOACCESSKEYEXAMPLE"},"body":{}},"maxRequests":1,"summary":false}}