> This page is for MVS Auth.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.mvscloud.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.mvscloud.com/_mcp/server.

# Get Scim V 2 Schemas

GET https://c-auth.mvscloud.com/api/auth/scim/v2/Schemas

Standard SCIM metadata endpoint used by identity providers to acquire information about supported schemas. See https://datatracker.ietf.org/doc/html/rfc7644#section-4

Reference: https://docs.mvscloud.com/mvs-auth/central-auth-api/scim/get-scim-v-2-schemas

## Authentication

- `Authorization` header (bearer token, required) — Bearer token authentication

## Response

### 200

SCIM metadata object

- `list of ScimV2SchemasGetResponsesContentApplicationJsonSchemaItems`

## Errors

### 400 Bad Request Error

Bad Request. Usually due to missing parameters, or invalid parameters

- `schemas` (list of string, optional)
- `status` (string, optional)
- `detail` (string, optional)
- `scimType` (string, optional)

### 401 Unauthorized Error

Unauthorized. Due to missing or invalid authentication.

- `schemas` (list of string, optional)
- `status` (string, optional)
- `detail` (string, optional)
- `scimType` (string, optional)

### 403 Forbidden Error

Unauthorized. Due to missing or invalid authentication.

- `schemas` (list of string, optional)
- `status` (string, optional)
- `detail` (string, optional)
- `scimType` (string, optional)

### 404 Not Found Error

Not Found. The requested resource was not found.

- `schemas` (list of string, optional)
- `status` (string, optional)
- `detail` (string, optional)
- `scimType` (string, optional)

### 429 Too Many Requests Error

Too Many Requests. You have exceeded the rate limit. Try again later.

- `schemas` (list of string, optional)
- `status` (string, optional)
- `detail` (string, optional)
- `scimType` (string, optional)

### 500 Internal Server Error

Internal Server Error. This is a problem with the server that you cannot fix.

- `schemas` (list of string, optional)
- `status` (string, optional)
- `detail` (string, optional)
- `scimType` (string, optional)

## Types

### ScimV2SchemasGetResponsesContentApplicationJsonSchemaItems

- `id` (string, optional)
- `schemas` (list of string, optional)
- `name` (string, optional)
- `description` (string, optional)
- `attributes` (list of ScimV2SchemasGetResponsesContentApplicationJsonSchemaItemsAttributesItems, optional)
- `meta` (ScimV2SchemasGetResponsesContentApplicationJsonSchemaItemsMeta, optional)

### ScimV2SchemasGetResponsesContentApplicationJsonSchemaItemsAttributesItems

- `name` (string, optional)
- `type` (string, optional)
- `multiValued` (boolean, optional)
- `description` (string, optional)
- `required` (boolean, optional)
- `caseExact` (boolean, optional)
- `mutability` (string, optional)
- `returned` (string, optional)
- `uniqueness` (string, optional)
- `subAttributes` (list of ScimV2SchemasGetResponsesContentApplicationJsonSchemaItemsAttributesItemsSubAttributesItems, optional)

### ScimV2SchemasGetResponsesContentApplicationJsonSchemaItemsMeta

- `resourceType` (string, required)
- `location` (string, required)

### ScimV2SchemasGetResponsesContentApplicationJsonSchemaItemsAttributesItemsSubAttributesItems

- `name` (string, optional)
- `type` (string, optional)
- `multiValued` (boolean, optional)
- `description` (string, optional)
- `required` (boolean, optional)
- `caseExact` (boolean, optional)
- `mutability` (string, optional)
- `returned` (string, optional)
- `uniqueness` (string, optional)

## Examples

**Response**

```json
[
  {
    "id": "string",
    "schemas": [
      "string"
    ],
    "name": "string",
    "description": "string",
    "attributes": [
      {
        "name": "string",
        "type": "string",
        "multiValued": true,
        "description": "string",
        "required": true,
        "caseExact": true,
        "mutability": "string",
        "returned": "string",
        "uniqueness": "string",
        "subAttributes": [
          {
            "name": "string",
            "type": "string",
            "multiValued": true,
            "description": "string",
            "required": true,
            "caseExact": true,
            "mutability": "string",
            "returned": "string",
            "uniqueness": "string"
          }
        ]
      }
    ],
    "meta": {
      "resourceType": "string",
      "location": "string"
    }
  }
]
```

**SDK Code**

```python
import requests

url = "https://c-auth.mvscloud.com/api/auth/scim/v2/Schemas"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://c-auth.mvscloud.com/api/auth/scim/v2/Schemas';
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);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://c-auth.mvscloud.com/api/auth/scim/v2/Schemas"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://c-auth.mvscloud.com/api/auth/scim/v2/Schemas")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://c-auth.mvscloud.com/api/auth/scim/v2/Schemas")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://c-auth.mvscloud.com/api/auth/scim/v2/Schemas', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://c-auth.mvscloud.com/api/auth/scim/v2/Schemas");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://c-auth.mvscloud.com/api/auth/scim/v2/Schemas")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```