# List schemas of a resource Gets a specific resource schema by ID. Examples: /scim/v2/Schemas/urn:ietf:params:scim:schemas:core:2.0:Group /scim/v2/Schemas/urn:ietf:params:scim:schemas:core:2.0:User /scim/v2/Schemas/urn:zuora:scim:schemas:1.0:UserExtension /scim/v2/Schemas/urn:zuora:scim:schemas:1.0:GroupExtension Endpoint: GET /scim/v2/Schemas/{id} Version: 2026-02-20 Security: bearerAuth ## Header parameters: - `Idempotency-Key` (string) Specify a unique idempotency key if you want to perform an idempotent POST or PATCH request. Do not use this header in other request types. With this header specified, the Zuora server can identify subsequent retries of the same request using this value, which prevents the same operation from being performed multiple times by accident. - `Accept-Encoding` (string) Include the Accept-Encoding: gzip header to compress responses as a gzipped file. It can significantly reduce the bandwidth required for a response. If specified, Zuora automatically compresses responses that contain over 1000 bytes of data, and the response contains a Content-Encoding header with the compression algorithm so that your client can decompress it. - `Content-Encoding` (string) Include the Content-Encoding: gzip header to compress a request. With this header specified, you should upload a gzipped file for the request payload instead of sending the JSON payload. - `Zuora-Track-Id` (string) A custom identifier for tracing the API call. If you set a value for this header, Zuora returns the same value in the response headers. This header enables you to associate your system process identifiers with Zuora API calls, to assist with troubleshooting in the event of an issue. The value of this field must use the US-ASCII character set and must not include any of the following characters: colon (:), semicolon (;), double quote ("), and quote ('). - `Zuora-Entity-Ids` (string) An entity ID. If you have Zuora Multi-entity enabled and the OAuth token is valid for more than one entity, you must use this header to specify which entity to perform the operation in. If the OAuth token is only valid for a single entity, or you do not have Zuora Multi-entity enabled, you should not set this header. ## Path parameters: - `id` (string, required) ## Response 200 fields (application/json): - `schemas` (array) List of schema URNs defining the structure of the response. Example: ["urn:ietf:params:scim:schemas:core:2.0:Schema"] - `id` (string) Unique identifier of the schema. Example: "urn:ietf:params:scim:schemas:core:2.0:User" - `name` (string) Name of the schema. Example: "User" - `description` (string) Description of the schema. Example: "User resource schema" - `attributes` (array) List of attributes defined by the schema. Example: [{"name":"userName","type":"string","multiValued":false,"description":"User's username","required":true,"caseExact":false,"mutability":"readWrite","returned":"always","uniqueness":"server"},{"name":"displayName","type":"string","multiValued":false,"description":"User's display name","required":false,"caseExact":false,"mutability":"readWrite","returned":"default","uniqueness":"none"}] - `attributes.name` (string) Name of the attribute. - `attributes.type` (string) Data type of the attribute (e.g., string, boolean). - `attributes.multiValued` (boolean) Indicates if the attribute can hold multiple values. - `attributes.description` (string) Description of the attribute. - `attributes.required` (boolean) Indicates if the attribute is required. - `attributes.caseExact` (boolean) Indicates if the attribute value is case-sensitive. - `attributes.mutability` (string) Specifies the mutability of the attribute (e.g., readOnly, readWrite). - `attributes.returned` (string) Specifies when the attribute is returned in responses (e.g., always, never). - `attributes.uniqueness` (string) Specifies the uniqueness of the attribute values (e.g., none, server). - `meta` (object) Metadata about the schema. Example: {"resourceType":"Schema","location":"http://localhost:9900/scim/v2/Schemas/urn:ietf:params:scim:schemas:core:2.0:User"} - `meta.resourceType` (string) Type of the resource (e.g., Schema). Example: "Schema" - `meta.location` (string) URL where the schema can be accessed. Example: "http://localhost:9900/scim/v2/Schemas/urn:ietf:params:scim:schemas:core:2.0:User" ## Response 401 fields (application/json): - `success` (boolean) Indicates whether the request was successful (false for unauthorized errors). - `reasons` (array) List of reasons explaining why the request was unauthorized. Example: [{"message":"Unauthorized","code":"90000011"}] - `reasons.message` (string) A message providing details about the unauthorized error. Example: "Unauthorized" - `reasons.code` (string) A code representing the specific unauthorized error. Example: "90000011" ## Response 403 fields (application/json): - `timestamp` (string) The timestamp when the error occurred. Example: "2023-07-28T10:47:07.931+00:00" - `status` (integer) HTTP status code indicating that the request is forbidden. Example: 403 - `error` (string) Error type describing the forbidden access. Example: "Forbidden" - `message` (string) A message detailing why the access was forbidden. Example: "Admin access denied" - `path` (string) The request path that caused the forbidden error. Example: "/scim/v2/Schemas/urn:ietf:params:scim:schemas:core:2.0:User" ## Response 404 fields (application/json): - `schemas` (array) List of schema URNs describing the structure of the error response. Example: ["urn:ietf:params:scim:api:messages:2.0:Error"] - `status` (string) HTTP status code indicating that the resource was not found. Example: "404" - `detail` (string) Detailed message explaining that the resource was not found. Example: "Resource not found"