Skip to content

List a group's identity provider mappings

GET
/user-groups/{group}/idp-mappings
curl --request GET \
--url https://example.com/api/v1/user-groups/night-shift/idp-mappings

The identity provider groups that put a person in this group: each a value of the provider’s groups claim, keyed by its issuer. At each single sign-on sign-in, and each re-check refresh whose id_token carries the claim, a person’s idp memberships from that issuer are set to exactly the mapped set. Gated by user_group:read:admin.

group
required

The group, by name or uuid

string

The group, by name or uuid

OK

Media type application/json
object
$schema

A URL to the JSON Schema for this object.

string format: uri
mappings
required
Array<object> | null
object
$schema

A URL to the JSON Schema for this object.

string format: uri
claim_value
required

A value of the provider’s groups claim

string
created_at
required
string format: date-time
group
required

The group’s name, for display

string
group_id
required

The group’s uuid, the handle

string
id
required
string
issuer
required

The identity provider’s issuer the claim value is read from

string

Example

{
"$schema": "/api/v1/schemas/ListGroupMappingsOutputBody.json",
"mappings": [
{
"$schema": "/api/v1/schemas/GroupMappingBody.json"
}
]
}

Error

Media type application/problem+json
object
$schema

A URL to the JSON Schema for this object.

string format: uri
detail

A human-readable explanation specific to this occurrence of the problem.

string
errors

Optional list of individual error details

Array<object> | null
object
location

Where the error occurred, e.g. ‘body.items[3].tags’ or ‘path.thing-id’

string
message

Error message text

string
value

The value at the given location

instance

A URI reference that identifies the specific occurrence of the problem.

string format: uri
status

HTTP status code

integer format: int64
title

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

string
type

A URI reference to human-readable documentation for the error.

string format: uri
default: about:blank

Example

{
"$schema": "/api/v1/schemas/ErrorModel.json",
"detail": "Property foo is required but is missing.",
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "about:blank"
}