POST /accounts/{account_id}/access/identity_providers/{identity_provider_id}/saml_certificate
Creates a new SAML encryption certificate set and assigns it to the specified SAML Identity Provider. This endpoint is idempotent - if the IdP already has a certificate set assigned, the existing certificate set is returned with a 200 status.
Workflow for enabling SAML encryption:
- Call this endpoint to create and assign a certificate set to the IdP
- Update the IdP configuration (PUT
/identity_providers/{id}) with:config.enable_encryption: truesaml_certificate_set_id: <uid from step 1>
- Configure the certificate's public key in your external SAML Identity Provider
Servers
- https://api.cloudflare.com/client/v4
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
identity_provider_id |
String | Yes | |
account_id |
String | Yes |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.