POST /v2/dedicated-inferences/{dedicated_inference_id}/tokens
Create a new access token for a Dedicated Inference instance. Send a POST
request to /v2/dedicated-inferences/{dedicated_inference_id}/tokens with a
name. The token value is returned only once in the response; store it securely.
Servers
- https://api.digitalocean.com
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
dedicated_inference_id |
String | Yes |
A unique identifier for a Dedicated Inference instance. |
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 | Yes |
Name for the new token. |
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.