Your suggested change has been received. Thank you.

close

Suggest A Change

https://thales.na.market.dpondemand.io/docs/dpod/services/kmo….

back

Salesforce Organization APIs

Getting Salesforce Organizations

search

Please Note:

Getting Salesforce Organizations

Use the post /v1/cckm/sfdc/get-organizations API to fetch the Salesforce organizations based on the Salesforce cloud connection. These organizations can be added to the CipherTrust Manager and managed through CCKM.

Syntax

curl -k '<IP>/api/v1/cckm/sfdc/get-organizations' -H 'Authorization: Bearer AUTHTOKEN' -H 'Content-Type: application/json' --data-binary $'{\n  "connection": "<connection>"\n}' --compressed

Request Parameters

Parameter Type Description
AUTHTOKEN string Authorization token.
connection string Name or ID of the Salesforce cloud connection on the CipherTrust Manager.

Example Request

curl -k 'https://127.0.0.1/api/v1/cckm/sfdc/get-organizations' -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiIxODdhY2RkOS1jNTQxLTQ3YjAtOWU0Yi03NzIwYjM4ZWI3NjEiLCJzdWIiOiJsb2NhbHwyOGIzZjFhNC01NjFjLTRjZTEtYjQ2MC01Mzg3NTE3YjU4OTMiLCJpc3MiOiJreWxvIiwiYWNjIjoia3lsbyIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiY3VzdCI6eyJkb21haW5faWQiOiIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJncm91cHMiOlsiYWRtaW4iXSwic2lkIjoiNGQxNDQxNDItNWU1OC00MjBiLWE3ZTEtYTQ0YWNkNjIwYTE2Iiwiem9uZV9pZCI6IjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCJ9LCJqd3RpZCI6ImE0MjVjZTZmLWQ0NWEtNGVjYS1iYTU4LWM3OWEzZGM3NDQyZiIsImlhdCI6MTYyNjg2MzA5NywiZXhwIjoxNjI2ODYzMzk3fQ.TSDgRzC7ilXP_FyWiiJNlexcq5Q0pNi9SXgTONn0d9g' -H 'Content-Type: application/json' --data-binary $'{\n  "connection": "sfdc-connection"\n}' --compressed

Example Response

{
    "name": "Thales",
    "organization_id": "00DB000000040bIMAQ",
    "connection": "sfdc-connection",
    "cloud_name": "sfdc",
    "type": "Regular"
}

The sample output displays the list of Salesforce organizations based on the specified connection. Other details such as the name, organization_id, cloud_name, and type are displayed.

Response Codes

Response Code Description
2xx Success
4xx Client errors
5xx Server errors

Refer to HTTP status codes for details.