Updating a Salesforce Issuer
Use the patch /v1/cckm/sfdc/issuers/{id}
API to update a Salesforce issuer for the given id.
Syntax
curl -k '<IP>/api/v1/cckm/sfdc/issuers/{id}' -X PATCH -H 'Authorization: Bearer AUTHTOKEN' --compressed
Here, {id} represents the ID of the Salesforce Issuer on the CipherTrust Manager.
Request Parameters
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authorization token. |
name (optional) | string | Unique name for the issuer. |
Example Request
curl -k 'https://127.0.0.1/api/v1/cckm/sfdc/issuers/asd121' -X PATCH -H 'Authorization: Bearer eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiIxYjQ0YmEyNi03YjJhLTQ1NDItOWI1NS0zMjU4NDJkZTJjMDUiLCJzdWIiOiJsb2NhbHxjMGIzNmIxZi1kODdjLTQ5MTctYTUxNy03MjY0MmNkZWM1OTIiLCJpc3MiOiJreWxvIiwiYWNjIjoia3lsbyIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiY3VzdCI6eyJjbGllbnRfaWQiOiI4MzdjODQwZC03NWRkLTRiNGYtYTMxOC03OWNiMTZjYTI0OGQiLCJjbGllbnRfbmFtZSI6ImFwaS1wbGF5Z3JvdW5kIiwiY2xpZW50X3R5cGUiOiJwdWJsaWMiLCJkb21haW5faWQiOiIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJncm91cHMiOlsiYWRtaW4iXSwic2lkIjoiODM3Yzg0MGQtNzVkZC00YjRmLWEzMTgtNzljYjE2Y2EyNDhkIiwiem9uZV9pZCI6IjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCJ9LCJqd3RpZCI6IjBjMTE1ZDZhLWFjNjgtNDM2Ni04NWVmLWJmY2IwNTUyOGZiMyIsImlhdCI6MTcyMDUzMjU2MywiZXhwIjoxNzIwNTMyODYzfQ.jlSRB0iZXNYVJ_Tp7DRRrVBDkOpgEsPqjtmkv3CYoQuzmyA-hxWDWFF4SYkxNy2iobxmZqpdaT2Gsx2Dv3SOWg' -H 'accept: application/json' --compressed
Example Response
{
"id": "9a82d3cc-c79f-478f-b6f6-c3b480c0b400",
"uri": "kylo:kylo:cckm:abcd",
"account": "kylo:kylo:admin:accounts:kylo",
"createdAt": "2022-09-22T21:22:03.959447Z",
"updatedAt": "2022-09-22T21:24:35.503393Z",
"name": "issuerOne",
"openid_config_url": "https://www.example.com/openid-configuration",
"issuer": "https://issuer.com",
"jwks_uri": "https://www.example.com/jwks.json"
}
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
5xx | Server errors |
Refer to HTTP status codes for details.