SSO Claim Mappings

Update an SSO claim mapping

Updates an existing SSO claim mapping

put/v1/sso-claim-mapping/{id}

Request

  • Base URL
    https://docs.grepr.ai (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

idstring required

Request body

claimKeystring required
claimValuestring required
roleIdsstring[] required

Example request

{
  "teamAssignments": [
    {
      "teamId": "team123"
    }
  ]
}

Response

Claim mapping updated successfully

claimKeystring required

JWT claim key to match

claimValuestring required

JWT claim value to match

createdAtstring date-time required

When the mapping was created

idstring required

Unique identifier of the claim mapping

updatedAtstring date-time required

When the mapping was last updated

Example response

{
  "claimKey": "department",
  "claimValue": "engineering",
  "createdAt": "2026-03-09T00:00:00Z",
  "id": "0n2abc12345",
  "roles": [
    {
      "id": "0n1z6h5p0ffqz",
      "name": "Admin"
    }
  ],
  "teamAssignments": [
    {
      "teamId": "team123"
    }
  ],
  "updatedAt": "2026-03-09T00:00:00Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.