PUT /v2/spaces/keys/{access_key}
To update Spaces Access Key, send a PUT or PATCH request to /v2/spaces/keys/$ACCESS_KEY
. At the moment, you cannot convert a
fullaccess key to a scoped key or vice versa. You can only update the name of the key.
Servers
- https://api.digitalocean.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
access_key |
String | Yes |
The access key's ID. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
name |
String | No |
The access key's name. |
access_key |
String | No |
The Access Key ID used to access a bucket. |
grants[] |
Array | No |
The list of permissions for the access key. |
grants[].permission |
String | Yes |
The permission to grant to the user. Possible values are |
grants[].bucket |
String | Yes |
The name of the bucket. |
created_at |
String | No |
The date and time the key was created. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.