Create Company Certificate

Create a company trusted or untrusted certificate
post
https://yourpodURL.symphony.com/pod
/v2/companycert/create
Create a company trusted or untrusted certificate. Different from V1 in that we reject expired certificates.
Parameters
Header
sessionToken*
string
Session authentication token.
Body
pem
string
An X509 certificate in PEM format
attributes
object
Body
Example
Schema
{
"pem": "-----BEGIN CERTIFICATE-----MIIH/TC...p9DBiB/-----END CERTIFICATE-----",
"attributes": {
"name": "agentservice",
"type": {
"type": "USER"
},
"status": {
"type": "TRUSTED"
}
}
}
Responses
200: OK
Success
400: Bad Request
Client error, see response body for further details.
401: Unauthorized
Unauthorized: Invalid session token.
403: Forbidden
Forbidden: Caller lacks necessary entitlement.
500: Internal Server Error
Server error, see response body for further details.

📘 Note

This v2 endpoint rejects expired certificates. When creating company certificates, make sure that you are calling the v2 version of this endpoint, and not v1.

🚧 Roles and privileges

Calling this endpoint requires the USER_PROVISIONING or the SUPER_ADMINISTRATOR role. See Bot Permissions for a list of roles and associated privileges.
Last modified 2mo ago