Creating a Salesforce Tenant Secret
Use the post /v1/cckm/sfdc/keys
API to create a new Salesforce tenant secret. When a new tenant secret is created, its status becomes ACTIVE
, and the status of the previous tenant secret becomes ARCHIVED
.
Syntax
Request Parameters
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authorization token. |
organization_id | string | Resource ID of the Salesforce organization where the tenant secret will be created. To get the resource ID of an organization, run the get /v1/cckm/sfdc/organizations API. Refer to Listing Salesforce Organizations for details. |
type | string | Type of the Salesforce tenant secret. The type can be: • Data • EventBus • SearchIndex • DeterministicData • Analytics |
Example Request
Example Response
The sample output shows that a new Salesforce tenant secret with the resource ID eca1ff8e-8609-48a2-becd-40e9d13300dc
is created and its "status"
is "ACTIVE"
. The resource ID is used to view, update, and delete a Salesforce tenant secret and add and view its versions.
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
5xx | Server errors |
Refer to HTTP status codes for details.