Destroying a Salesforce Tenant Secret
Use the post /v1/cckm/sfdc/keys/{id}/destroy
API to destroy an ARCHIVED
(backup) Salesforce tenant secret. The status of the tenant secret changes from ARCHIVED
to DESTROYED
.
Only a tenant secret with the status ARCHIVED
can be destroyed. An ACTIVE
tenant secret cannot be destroyed.
Syntax
Here, {id}
represents the resource ID of the Salesforce tenant secret.
Request Parameter
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authorization token. |
Example Request
Example Response
The sample output displays that the status of the Salesforce tenant secret with the ID eca1ff8e-8609-48a2-becd-40e9d13300dc
becomes DESTROYED
.
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
5xx | Server errors |
Refer to HTTP status codes for details.