---
id: get-resource-types
sidebar_label: Returns all ResourceType resources.
hide_title: true
hide_table_of_contents: true
api: {"operationId":"getResourceTypes","tags":["ResourceTypes"],"description":"All ResourceType resources are listed in the response. The common fields for each ResourceType entry are 'endpoint', 'id', 'name', 'description', 'schema' and 'schemaExtensions'.","responses":{"200":{"description":"Returns all ResourceType resources.","content":{"application/json":{"schema":{"properties":{"totalResults":{"description":"Number of ResourceType resources returned.","type":"integer","example":18},"schemas":{"description":"The ResourceTypes type represented by URN used for this response.","type":"array","items":{"type":"string"},"example":["urn:ietf:params:scim:api:messages:2.0:ListResponse"]},"Resources":{"type":"array","items":{"type":"object","properties":{"id":{"description":"ID of the ResourceType.","type":"string","example":"User"},"name":{"description":"Name of the ResourceType.","type":"string","example":"User"},"endpoint":{"description":"The ResourceType's HTTP addressable endpoint relative to the Base URL.","type":"string","example":"/Applications"},"description":{"description":"Description of the ResourceType.","type":"string","example":"User Account."},"schema":{"description":"The primary/base schema URI of the ResourceType.","type":"string","example":"urn:ietf:params:scim:schemas:sailpoint:1.0:User"},"schemaExtensions":{"description":"A list of URIs of the ResourceType's schema extensions.","type":"array","items":{"example":[{"schema":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User","required":true},{"schema":"urn:ietf:params:scim:schemas:sailpoint:1.0:User","required":true}]}},"meta":{"description":"Metadata of the ResourceType.","type":"object","properties":{"location":{"description":"The location of the ResourceType.","type":"string","example":"http://localhost:8080/iiq/scim/v2/ResourceTypes/User"},"resourceType":{"description":"The SCIM resource type.","type":"string","example":"ResourceType"}}},"schemas":{"description":"The schema for the ResourceType resource.","type":"array","items":{"type":"string"},"example":["urn:ietf:params:scim:schemas:core:2.0:ResourceType"]}}}}}}},"application/scim+json":{"schema":{"properties":{"totalResults":{"description":"Number of Schema resources returned.","type":"integer","example":18},"schemas":{"description":"The Schema type represented by URN used for this response.","type":"array","items":{"type":"string"},"example":["urn:ietf:params:scim:api:messages:2.0:ListResponse"]},"Resources":{"type":"array","items":{"type":"object","properties":{"id":{"description":"ID of the ResourceType.","type":"string","example":"User"},"name":{"description":"Name of the ResourceType.","type":"string","example":"User"},"endpoint":{"description":"The ResourceType's HTTP addressable endpoint relative to the Base URL.","type":"string","example":"/Applications"},"description":{"description":"Description of the ResourceType.","type":"string","example":"User Account."},"schema":{"description":"The primary/base schema URI of the ResourceType.","type":"string","example":"urn:ietf:params:scim:schemas:sailpoint:1.0:User"},"schemaExtensions":{"description":"A list of URIs of the ResourceType's schema extensions.","type":"array","items":{"example":[{"schema":"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User","required":true},{"schema":"urn:ietf:params:scim:schemas:sailpoint:1.0:User","required":true}]}},"meta":{"description":"Metadata of the ResourceType.","type":"object","properties":{"location":{"description":"The location of the ResourceType.","type":"string","example":"http://localhost:8080/iiq/scim/v2/ResourceTypes/User"},"resourceType":{"description":"The SCIM resource type.","type":"string","example":"ResourceType"}}},"schemas":{"description":"The schema for the ResourceType resource.","type":"array","items":{"type":"string"},"example":["urn:ietf:params:scim:schemas:core:2.0:ResourceType"]}}}}}}}}}},"method":"get","path":"/ResourceTypes","servers":[{"url":"http://localhost:8080/identityiq/scim/v2","description":"IdentityIQ SCIM server basepath and path to API."}],"security":[{"basicAuth":[]}],"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic"}},"info":{"description":"IdentityIQ REST Endpoint Interface Documentation for SCIM\n","version":"8.3","title":"IdentityIQ SCIM REST API"},"postman":{"name":"Returns all ResourceType resources.","description":{"content":"All ResourceType resources are listed in the response. The common fields for each ResourceType entry are 'endpoint', 'id', 'name', 'description', 'schema' and 'schemaExtensions'.","type":"text/plain"},"url":{"path":["ResourceTypes"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}}
sidebar_class_name: "get api-method"
info_path: iiq/api/identityiq-scim-rest-api
custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Returns all ResourceType resources.' (get-resource-types)"
---

import ApiTabs from "@theme/ApiTabs";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import TabItem from "@theme/TabItem";

## Returns all ResourceType resources.



All ResourceType resources are listed in the response. The common fields for each ResourceType entry are 'endpoint', 'id', 'name', 'description', 'schema' and 'schemaExtensions'.

<div><ApiTabs><TabItem label={"200"} value={"200"}><div>

Returns all ResourceType resources.

</div><div><MimeTabs schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs><TabItem label={"Schema"} value={"Schema"}><details style={{}} data-collapsed={false} open={true}><summary style={{"textAlign":"left"}}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"totalResults"} required={false} deprecated={undefined} schemaDescription={"Number of ResourceType resources returned."} schemaName={"integer"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"schemas"} required={false} deprecated={undefined} schemaDescription={"The ResourceTypes type represented by URN used for this response."} schemaName={"string[]"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}}><summary style={{}}><strong>Resources</strong><span style={{"opacity":"0.6"}}> object[]</span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"id"} required={false} deprecated={undefined} schemaDescription={"ID of the ResourceType."} schemaName={"string"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"name"} required={false} deprecated={undefined} schemaDescription={"Name of the ResourceType."} schemaName={"string"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"endpoint"} required={false} deprecated={undefined} schemaDescription={"The ResourceType's HTTP addressable endpoint relative to the Base URL."} schemaName={"string"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"description"} required={false} deprecated={undefined} schemaDescription={"Description of the ResourceType."} schemaName={"string"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"schema"} required={false} deprecated={undefined} schemaDescription={"The primary/base schema URI of the ResourceType."} schemaName={"string"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"schemaExtensions"} required={false} deprecated={undefined} schemaDescription={"A list of URIs of the ResourceType's schema extensions."} schemaName={"undefined[]"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}}><summary style={{}}><strong>meta</strong><span style={{"opacity":"0.6"}}> object</span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

Metadata of the ResourceType.

</div><SchemaItem collapsible={false} name={"location"} required={false} deprecated={undefined} schemaDescription={"The location of the ResourceType."} schemaName={"string"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"resourceType"} required={false} deprecated={undefined} schemaDescription={"The SCIM resource type."} schemaName={"string"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"schemas"} required={false} deprecated={undefined} schemaDescription={"The schema for the ResourceType resource."} schemaName={"string[]"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"totalResults\": 18,\n  \"schemas\": [\n    \"urn:ietf:params:scim:api:messages:2.0:ListResponse\"\n  ],\n  \"Resources\": [\n    {\n      \"id\": \"User\",\n      \"name\": \"User\",\n      \"endpoint\": \"/Applications\",\n      \"description\": \"User Account.\",\n      \"schema\": \"urn:ietf:params:scim:schemas:sailpoint:1.0:User\",\n      \"schemaExtensions\": [\n        [\n          {\n            \"schema\": \"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User\",\n            \"required\": true\n          },\n          {\n            \"schema\": \"urn:ietf:params:scim:schemas:sailpoint:1.0:User\",\n            \"required\": true\n          }\n        ]\n      ],\n      \"meta\": {\n        \"location\": \"http://localhost:8080/iiq/scim/v2/ResourceTypes/User\",\n        \"resourceType\": \"ResourceType\"\n      },\n      \"schemas\": [\n        \"urn:ietf:params:scim:schemas:core:2.0:ResourceType\"\n      ]\n    }\n  ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem><TabItem label={"application/scim+json"} value={"application/scim+json"}><SchemaTabs><TabItem label={"Schema"} value={"Schema"}><details style={{}} data-collapsed={false} open={true}><summary style={{"textAlign":"left"}}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"totalResults"} required={false} deprecated={undefined} schemaDescription={"Number of Schema resources returned."} schemaName={"integer"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"schemas"} required={false} deprecated={undefined} schemaDescription={"The Schema type represented by URN used for this response."} schemaName={"string[]"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}}><summary style={{}}><strong>Resources</strong><span style={{"opacity":"0.6"}}> object[]</span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"id"} required={false} deprecated={undefined} schemaDescription={"ID of the ResourceType."} schemaName={"string"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"name"} required={false} deprecated={undefined} schemaDescription={"Name of the ResourceType."} schemaName={"string"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"endpoint"} required={false} deprecated={undefined} schemaDescription={"The ResourceType's HTTP addressable endpoint relative to the Base URL."} schemaName={"string"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"description"} required={false} deprecated={undefined} schemaDescription={"Description of the ResourceType."} schemaName={"string"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"schema"} required={false} deprecated={undefined} schemaDescription={"The primary/base schema URI of the ResourceType."} schemaName={"string"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"schemaExtensions"} required={false} deprecated={undefined} schemaDescription={"A list of URIs of the ResourceType's schema extensions."} schemaName={"undefined[]"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}}><summary style={{}}><strong>meta</strong><span style={{"opacity":"0.6"}}> object</span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

Metadata of the ResourceType.

</div><SchemaItem collapsible={false} name={"location"} required={false} deprecated={undefined} schemaDescription={"The location of the ResourceType."} schemaName={"string"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem><SchemaItem collapsible={false} name={"resourceType"} required={false} deprecated={undefined} schemaDescription={"The SCIM resource type."} schemaName={"string"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={false} name={"schemas"} required={false} deprecated={undefined} schemaDescription={"The schema for the ResourceType resource."} schemaName={"string[]"} qualifierMessage={undefined} defaultValue={undefined}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"totalResults\": 18,\n  \"schemas\": [\n    \"urn:ietf:params:scim:api:messages:2.0:ListResponse\"\n  ],\n  \"Resources\": [\n    {\n      \"id\": \"User\",\n      \"name\": \"User\",\n      \"endpoint\": \"/Applications\",\n      \"description\": \"User Account.\",\n      \"schema\": \"urn:ietf:params:scim:schemas:sailpoint:1.0:User\",\n      \"schemaExtensions\": [\n        [\n          {\n            \"schema\": \"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User\",\n            \"required\": true\n          },\n          {\n            \"schema\": \"urn:ietf:params:scim:schemas:sailpoint:1.0:User\",\n            \"required\": true\n          }\n        ]\n      ],\n      \"meta\": {\n        \"location\": \"http://localhost:8080/iiq/scim/v2/ResourceTypes/User\",\n        \"resourceType\": \"ResourceType\"\n      },\n      \"schemas\": [\n        \"urn:ietf:params:scim:schemas:core:2.0:ResourceType\"\n      ]\n    }\n  ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div>