Delete a log shipping token
DELETE/v1/log-shipping/tokens/:id
Deletes a log shipping token by its ID, while providing relevant information about the token's recent status and activity.
An account must have at least 1 enabled token. You won't be able to disable or delete the last token. Important: Active tokens can be deleted using this call. Confirm that a token is no longer needed before deleting it.
Request
Path Parameters
id int32required
This token's ID.
Example: 786351
Responses
- 200
successful operation
- application/json
- Schema
- Example (from schema)
Schema
name string
This token's name.
id int32
This token's ID.
token string
The token itself.
updatedAt string
Unix timestamp of when this token was last updated.
updatedBy string
Email address of the last user to update this token.
createdAt string
Unix timestamp of when this token was created.
createdBy string
Email address of the user who created this token.
enabled boolean
If this token is enabled, true
. If it's disabled, false
.
{
"name": "apac prod",
"id": 786351,
"token": "6bLXmMA6FLibc7ySSqNcCfvbhtqT0rPS",
"updatedAt": 414720000,
"updatedBy": "shalom.the.mighty@gmail.com",
"createdAt": 389836800,
"createdBy": "you.got.this@gmail.com",
"enabled": true
}
Loading...