Update SAML application secret
Update the status of a signing certificate.
Path parameters
-
The unique identifier of the saml application.
-
The unique identifier of the secret.
PATCH
/api/saml-applications/{id}/secrets/{secretId}
curl \
--request PATCH https://[tenant_id].logto.app/api/saml-applications/{id}/secrets/{secretId} \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"active":true}'
Request examples
{
"active": true
}
Response examples (200)
{
"id": "string",
"certificate": "string",
"createdAt": 42.0,
"expiresAt": 42.0,
"active": true,
"fingerprints": {
"sha256": {
"formatted": "string",
"unformatted": "string"
}
}
}