Certificates
The Single Sign-On APIs allow you to manage your SAML 2.0 SSO configurations. You can also work with your SSO integrations using the SSO section of the Twilio SendGrid App.
The Certificates API allows you to create, modify, and delete SSO certificates. A SAML certificate allows your IdP and Twilio SendGrid to verify requests are coming from one another using the public_certificate
and integration_id
parameters.
For more information about managing SSO Certificates, see the Twilio SendGrid SSO documentation.
Update SSO Certificate
PATCH /v3/sso/certificates/{cert_id}
Base url: https://api.sendgrid.com
This endpoint allows you to update an existing certificate by ID.
You can retrieve a certificate's ID from the response provided by the "Get All SSO Integrations" endpoint.
Request Body
This public certificate allows SendGrid to verify that SAML requests it receives are signed by an IdP that it recognizes.
Indicates whether or not the certificate is enabled.
An ID that matches a certificate to a specific IdP integration.
{
"public_certificate": "<your x509 certificate>",
"enabled": false,
"intergration_id": "b0b98502-9408-4b24-9e3d-31ed7cb15312"
}
Path Parameters
Responses
Need some help?
We all do sometimes. Get help now from the Twilio SendGrid Support Team.
Running into a coding hurdle? Lean on the wisdom of the crowd by browsing the SendGrid tag on Stack Overflow or visiting Twilio's Stack Overflow Collective.