POST /v2/spaces/keys
To create a new Spaces Access Key, send a POST request to /v2/spaces/keys
.
At the moment, you cannot mix a fullaccess permission with scoped permissions.
A fullaccess permission will be prioritized if fullaccess and scoped permissions are both added.
Servers
- https://api.digitalocean.com
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.