Step 1a: Upload the SAML application's verification certificate
POST {{apiPath}}/environments/{{envID}}/certificates
The POST /environments/{{envID}}/certificates endpoint is used to upload the external identity provider's certificate file. This operation supports the upload of a pkcs7 file using the application/x-pkcs7-certificates media type. Properties returned in the response are parsed from the uploaded file. You will need the verification certificate ID value in Step 2 to create the external identity provider resource.
The response returns a 202 Accepted message and shows the certificate data parsed from the uploaded certificate file.
Request Body
[{"name"=>"usageType", "value"=>"SIGNING", "datatype"=>"string"}, {"name"=>"file", "value"=>nil, "datatype"=>"null"}]
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Authorization | string | ||
Content-Type | string |