SSO Users

SSO Users allow you to manage single sign-on configurations for your instance.

SSO Users object

Attributes

object

String

Type of the object, fixed as sso.tenant

id

String

The unique identifier of the sso tenant

sso_user_id

String

The SSO Tenant ID associated with this user

email

String

The email address of the SSO user

first_name

String

The first name of the SSO user

last_name

String

The last name of the SSO user

created_at

Date

The ISO 8601 timestamp when the sso user was created

updated_at

Date

The ISO 8601 timestamp when the sso user was last updated

sso_tenant

Object

profiles

Object

List of SSO user profiles associated with this user

{
"object": "sso.tenant",
"created_at": "2024-01-15T09:30:00.000Z",
"updated_at": "2024-01-15T09:30:00.000Z",
"sso_tenant": {
"object": "sso.tenant"
},
"profiles": [
{
"object": "sso.user_profile",
"sso_tenant": {
"object": "sso.tenant"
}
}
]
}

List SSO Tenants

Returns a paginated list of sso tenants.

Query Parameters

limit

NumberOptional

Maximum number of items to return (1-100)

after

StringOptional

Return items after this ID

before

StringOptional

Return items before this ID

cursor

StringOptional

Pagination cursor from a previous response

order

EnumOptional

Sort order for results

profile_id

UnionOptional

Filter by SSO profile ID(s)

consumer_profile_id

UnionOptional

Filter by consumer profile ID(s)

GEThttp://api.metorial.com/sso-users
curl -X GET "https://api.metorial.com/sso-users" \
-H "Authorization: Bearer metorial_sk_..."

Get SSO Tenant by ID

Retrieves details for a specific sso tenant by its ID.

URL Parameters

sso_user_id

String

The unique identifier for the sso_user

GEThttp://api.metorial.com/sso-users/:sso_user_id
curl -X GET "https://api.metorial.com/sso-users/sso_Rm4Mnheq2bfEPhBhP7SY" \
-H "Authorization: Bearer metorial_sk_..."