Rollback a field mapping set.
curl --request POST \ --url https://auth.example.com/api/admin/field-mapping/field-mapping-sets/example/rollback \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{}'Rolls back a field mapping set to a previous active state according to the repository policy and returns rollback metadata. Refused with 409 (reason referenced) while a default (the platform’s or a tenant’s), an app, a SAML provider, a credential profile or SCIM still names the set (a rollback re-activates an earlier activation whose compiled snapshot is not active), or with 409 (reason scan_incomplete) when where it is used could not be checked everywhere. references carries the count, the first references, and for a platform set the count of other tenants’ references; their tenant and app IDs are given only to a caller with global authority. Also 409 (reason would_break_references) when the version would not meet what the references need.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Field mapping set identifier.
Header Parameters
Section titled “Header Parameters ”Idempotency key for state-changing operations that support replay protection.
Request Body
Section titled “Request Body ”object
Example
{}Responses
Section titled “ Responses ”Field mapping rollback response.
object
object
Example generated
{ "result": { "id": "example", "tenantId": "example", "fieldMappingSetId": "example", "fieldMappingVersionId": "example", "lifecycleState": "example", "rolledBackAt": 1 }}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}The change was refused: the Mapping Set is named somewhere (referenced), the version would not meet what the references need (would_break_references), or where it is used could not be checked everywhere (scan_incomplete).
object
object
Everything found, other tenants’ included.
True when a place held more rows than were read.
The first references the caller may see in full.
object
The tenant the reference is in. Absent for the platform’s own default.
The entity ID of the SAML partner the provider is configured for.
A federation trust source whose runtime resolution names the set.
A Mapping Set version the reference pins.
The compiled snapshot a credential profile version was published with.
When asked about a Destination Profile, the Mapping Set the reference is through.
References in other tenants the caller may not see, as counts only.
object
False when the other tenants’ Core databases were not read (the caller has no global authority): the counts then hold only what the Admin database knows.
object
object
Given only for the caller’s own tenant, or to a caller with global authority.
A fixed code (for example core_database_unavailable, no_such_table).
Only on would_break_references, the condition the version would fail.
object
Example
{ "error": "conflict", "reason": "referenced", "references": { "items": [ { "kind": "platform_default", "federationRole": "saml_idp", "role": "issuance" } ], "unscanned": { "items": [ { "area": "platform_settings" } ] }, "violation": { "code": "destination_profile_invalid" } }}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}