PATCH /api/database/tokens/{token_id}/
Updates the existing database token if it is owned by the authorized user and ifthe user has access to the related workspace.
Servers
- /
Path parameters
Name | Type | Required | Description |
---|---|---|---|
token_id |
Integer | Yes |
Updates the database token related to the provided value. |
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 human readable name of the database token for the user. |
rotate_key |
Boolean | No |
Indicates if a new key must be generated. Default value: false |
permissions |
Object | No |
Indicates per operation which permissions the database token has within the whole workspace. If the value of for example Example:
|
permissions.create |
No | ||
permissions.delete |
No | ||
permissions.read |
No | ||
permissions.update |
No |
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.