SSO Tenants

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

SSO Tenants object

Attributes

object

String

Type of the object, fixed as sso.tenant

id

String

The unique identifier of the sso tenant

name

String

The name of the SSO tenant

sso_tenant_id

String

The SSO Tenant ID provided by the SSO provider

sso_tenant_client_id

String

The SSO Tenant Client ID provided by the SSO provider

created_at

Date

The ISO 8601 timestamp when the sso tenant was created

updated_at

Date

The ISO 8601 timestamp when the sso tenant was last updated

{
"object": "sso.tenant"
}

List SSO Tenants

Returns a paginated list of sso tenants.

Query Parameters

limit

NumberOptional

after

StringOptional

before

StringOptional

cursor

StringOptional

order

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

Get SSO Tenant by ID

Retrieves details for a specific sso tenant by its ID.

URL Parameters

sso_tenant_id

String

The unique identifier for the sso_tenant

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

Create SSO Tenant

Creates a new sso tenant for the instance.

Request Body

name

String
POSThttp://api.metorial.com/sso-tenants
curl -X POST "https://api.metorial.com/sso-tenants" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer metorial_sk_..." \
-d '{
"name": "example_name"
}'

Setup SSO Tenant

Creates a new sso tenant setup for the tenant.

URL Parameters

sso_tenant_id

String

The unique identifier for the sso_tenant

Request Body

redirect_uri

String
POSThttp://api.metorial.com/sso-tenants/:sso_tenant_id/setup
curl -X POST "https://api.metorial.com/sso-tenants/sso_Rm4Mnheq2bfEPhBhP7SY/setup" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer metorial_sk_..." \
-d '{
"redirect_uri": "example_redirect_uri"
}'