The resource types this server exposes
GET
/ResourceTypes
const url = 'https://example.com/scim/v2/ResourceTypes';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/scim/v2/ResourceTypes \ --header 'Authorization: Bearer <token>'The resource types served, as an RFC 7644 list response.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The supported resource types.
Media typeapplication/scim+json
object
schemas
required
Array<string>
totalResults
required
integer
startIndex
integer
itemsPerPage
integer
Resources
required
Array<object>
object
schemas
Array<string>
id
string
name
string
endpoint
string
schema
string
Example generated
{ "schemas": [ "example" ], "totalResults": 1, "startIndex": 1, "itemsPerPage": 1, "Resources": [ { "schemas": [ "example" ], "id": "example", "name": "example", "endpoint": "example", "schema": "example" } ]}No usable SCIM bearer: missing, not fn_scim_…, unknown, revoked,
expired or of a disabled provider, with WWW-Authenticate: Bearer
and no scimType (RFC 7644 defines none for it). A refused bearer counts against the
address’s throttle; an address over it is answered 429.
Media typeapplication/scim+json
object
schemas
required
Array<string>
status
required
string
scimType
string
detail
string
Example generated
{ "schemas": [ "example" ], "status": "example", "scimType": "example", "detail": "example"}Headers
Section titled “Headers”WWW-Authenticate
string