---
id: get-resource-type-by-id
sidebar_label: Returns a ResourceType resource based on ID.
hide_title: true
hide_table_of_contents: true
api: {"operationId":"getResourceTypeById","tags":["ResourceTypes"],"description":"The ResourceType with the matching ID is returned. The ID is the URN of the SCIM resource. The common fields for each ResourceType entry are 'endpoint', 'id', 'name', 'description', 'schema' and 'schemaExtensions'.","parameters":[{"name":"resourceTypeId","in":"path","schema":{"type":"string"},"description":"ID of ResourceType resource.","required":true}],"responses":{"200":{"description":"Returns a single ResourceType resource based on the ID.","content":{"application/json":{"schema":{"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/{resourceTypeId}","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 a ResourceType resource based on ID.","description":{"content":"The ResourceType with the matching ID is returned. The ID is the URN of the SCIM resource. The common fields for each ResourceType entry are 'endpoint', 'id', 'name', 'description', 'schema' and 'schemaExtensions'.","type":"text/plain"},"url":{"path":["ResourceTypes",":resourceTypeId"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of ResourceType resource.","type":"text/plain"},"type":"any","value":"","key":"resourceTypeId"}]},"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 a ResourceType resource based on ID.' (get-resource-type-by-id)"
---

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 a ResourceType resource based on ID.



The ResourceType with the matching ID is returned. The ID is the URN of the SCIM resource. The common fields for each ResourceType entry are 'endpoint', 'id', 'name', 'description', 'schema' and 'schemaExtensions'.

<details style={{"marginBottom":"1rem"}} data-collapsed={false} open={true}><summary style={{}}><strong>Path Parameters</strong></summary><div><ul><ParamsItem className={"paramsItem"} param={{"name":"resourceTypeId","in":"path","schema":{"type":"string"},"description":"ID of ResourceType resource.","required":true}}></ParamsItem></ul></div></details><div><ApiTabs><TabItem label={"200"} value={"200"}><div>

Returns a single ResourceType resource based on the ID.

</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={"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></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\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}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div>