Logo
Akamai APIs API Documentation

Add a certificate

POST https://{{host}}/sso-config/v1/idps/:entityId/certificates

This operation adds the certificate to the IdP.

 

Body PARAM

Key Datatype Required Description 
accountSwitchKey
string (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status Created

{ "certificate": "MIIEsDCCApgCCQCy2z3hGD...awd1vOphfRgvA==", "certificateId": "4426172c47550a28dcfb1f862514054b", "expirationDate": "2033-06-11T14:46:39+00:00", "rotationDate": "2028-06-14T14:46:56+00:00" }



Curl
curl -X POST 'https://undefined/sso-config/v1/idps/:entityId/certificates?accountSwitchKey=' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"certificate":"MIIEsDCBgkqhkiG9w0BAQsFA...7zx6loLg18w\nu1qLBQ=="}'

ENDPOINTS