Create a claim mapping

Creates a new SAML2 claim mapping for the organization. Maps a user attribute (e.g. user.email, user.firstname) to a SAML assertion attribute name. Available sources: user.email, user.firstname, user.lastname, user.id, user.username.

Authentication

Api-Keystring

API key of the organization. Always sent together with the Secret-Access header.

Path parameters

centralized_organization_slugstringRequired

Headers

Secret-AccessstringRequired

Request

This endpoint expects an object.
attribute_namestringRequired
SAML attribute name
attribute_value_sourceenumRequired
User field to map to the attribute
is_requiredbooleanOptionalDefaults to false
Whether the claim is required

Response

Successful Response
messagestring
Message of the response
datetimestring
Datetime of the API in ISO Format
dataobjectOptional

Errors

400
Bad Request Error
409
Conflict Error
422
Unprocessable Entity Error