Skip to content

Get which identity provider groups give which roles

GET
/api/settings/sso/groups
curl --request GET \
--url https://forge.example.com/api/settings/sso/groups \
--header 'Authorization: Bearer <token>'

With the claim (OpenID Connect) and the attribute (SAML) the groups are read from. For administrators.

OK

Media typeapplication/json
object
groups
required
Array<object>
object
group
required
string
role
required
string
claim
required
null | string
attribute
required
null | string
version
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/

Example generated

{
"groups": [
{
"group": "example",
"role": "example"
}
],
"claim": "example",
"attribute": "example",
"version": 1
}

A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.

Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}