SSO Tenants
SSO Tenants allow you to manage single sign-on configurations for your instance.
SSO Tenants object
Attributes
object
StringType of the object, fixed as sso.tenant
id
StringThe unique identifier of the sso tenant
name
StringThe name of the SSO tenant
sso_tenant_id
StringThe SSO Tenant ID provided by the SSO provider
sso_tenant_client_id
StringThe SSO Tenant Client ID provided by the SSO provider
created_at
DateThe ISO 8601 timestamp when the sso tenant was created
updated_at
DateThe 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
NumberOptionalafter
StringOptionalbefore
StringOptionalcursor
StringOptionalorder
EnumOptionalcurl -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
StringThe unique identifier for the sso_tenant
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
Stringcurl -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
StringThe unique identifier for the sso_tenant
Request Body
redirect_uri
Stringcurl -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"}'