Update a log shipping token
PUT/v1/log-shipping/tokens/:id
Enables/disables a log shipping token and/or renames it. Please ensure to change the region in the URL to match your account's region.
Request
Path Parameters
id int32required
This token's ID.
Example: 786351
- application/json
Body
name string
Descriptive name for this token.
enabled boolean
Default value: true
To enable this token, true
. To disable, false
.
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...