> 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 Resource Types

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

Standard SCIM metadata endpoint used by identity providers to get a list of server supported types. 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-resource-types

## Authentication

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

## Response

### 200

SCIM metadata object

- `totalResults` (double, optional)
- `itemsPerPage` (double, optional)
- `startIndex` (double, optional)
- `Resources` (list of ScimV2ResourceTypesGetResponsesContentApplicationJsonSchemaResourcesItems, optional)

## 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

### ScimV2ResourceTypesGetResponsesContentApplicationJsonSchemaResourcesItems

- `schemas` (list of string, optional)
- `id` (string, optional)
- `name` (string, optional)
- `endpoint` (string, optional)
- `description` (string, optional)
- `schema` (string, optional)
- `meta` (ScimV2ResourceTypesGetResponsesContentApplicationJsonSchemaResourcesItemsMeta, optional)

### ScimV2ResourceTypesGetResponsesContentApplicationJsonSchemaResourcesItemsMeta

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

## Examples

**Response**

```json
{
  "totalResults": 1.1,
  "itemsPerPage": 1.1,
  "startIndex": 1.1,
  "Resources": [
    {
      "schemas": [
        "string"
      ],
      "id": "string",
      "name": "string",
      "endpoint": "string",
      "description": "string",
      "schema": "string",
      "meta": {
        "resourceType": "string",
        "location": "string"
      }
    }
  ]
}
```

**SDK Code**

```python
import requests

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

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/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);
}
```

```go
package main

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

func main() {

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

	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/ResourceTypes")

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/ResourceTypes")
  .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/ResourceTypes', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://c-auth.mvscloud.com/api/auth/scim/v2/ResourceTypes");
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/ResourceTypes")! 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()
```