Activate destination credential
POST
/api/admin/destinations/{id}/credentials/activate
Code sample: Shell / cURL
curl --request POST \ --url https://auth.example.com/api/admin/destinations/example/credentials/activate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "confirmation": "ACTIVATE CREDENTIAL security-http-sink", "overlap_ms": 86400000 }'Promotes the prepared destination credential to active after confirmation and retains the previous credential for the overlap window.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Destination ID.
Request Body required
Section titled “Request Body required ” Media type application/json
object
confirmation
required
string
overlap_ms
integer
key
additional properties
Example
{ "confirmation": "ACTIVATE CREDENTIAL security-http-sink", "overlap_ms": 86400000}Responses
Section titled “ Responses ”Logging destination mutation result.
Media type application/json
default
Section titled “default ”Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}