List resource types

GET https://api.ap1.datadoghq.com/api/v2/scim/ResourceTypeshttps://api.ap2.datadoghq.com/api/v2/scim/ResourceTypeshttps://api.datadoghq.eu/api/v2/scim/ResourceTypeshttps://api.ddog-gov.com/api/v2/scim/ResourceTypeshttps://api.us2.ddog-gov.com/api/v2/scim/ResourceTypeshttps://api.datadoghq.com/api/v2/scim/ResourceTypeshttps://api.us3.datadoghq.com/api/v2/scim/ResourceTypeshttps://api.us5.datadoghq.com/api/v2/scim/ResourceTypes

Overview

List the SCIM resource types supported by this service provider. See RFC 7644 Section 4 for more information. This endpoint requires all of the following permissions:

  • user_access_invite
  • user_access_manage

  • Response

    OK

    List resource types response object.

    Expand All

    Field

    Type

    Description

    Resources

    [object]

    List of resource types supported by this SCIM service provider.

    description

    string

    Human-readable description of the resource type.

    endpoint

    string

    HTTP-addressable endpoint relative to the base URL where the resource is located.

    id

    string

    The resource type's server unique id.

    meta

    object

    Metadata associated with a resource type.

    location

    string

    URL identifying the resource type.

    resourceType

    string

    Type of resource.

    name

    string

    The resource type name.

    schema

    string

    The resource type's primary or base SCIM schema URI.

    schemas

    [string]

    A list of SCIM schema URI identifying the protocol or schema used in this object.

    itemsPerPage

    int64

    Number of resource types returned per page.

    schemas

    [string]

    List response JSON Schemas.

    startIndex

    int64

    Starting index of the resource types for this page (1-indexed).

    totalResults

    int64

    Total number of resource types.

    {
      "Resources": [
        {
          "description": "https://tools.ietf.org/html/rfc7643#section-8.7.1",
          "endpoint": "/Groups",
          "id": "Group",
          "meta": {
            "location": "https://app.datadoghq.com/api/v2/scim/ResourceTypes/Group",
            "resourceType": "ResourceType"
          },
          "name": "Group",
          "schema": "urn:ietf:params:scim:schemas:core:2.0:Group",
          "schemas": [
            "urn:ietf:params:scim:schemas:core:2.0:ResourceType"
          ]
        },
        {
          "description": "https://tools.ietf.org/html/rfc7643#section-8.7.1",
          "endpoint": "/Users",
          "id": "User",
          "meta": {
            "location": "https://app.datadoghq.com/api/v2/scim/ResourceTypes/User",
            "resourceType": "ResourceType"
          },
          "name": "User",
          "schema": "urn:ietf:params:scim:schemas:core:2.0:User",
          "schemas": [
            "urn:ietf:params:scim:schemas:core:2.0:ResourceType"
          ]
        }
      ],
      "itemsPerPage": 2,
      "schemas": [
        "urn:ietf:params:scim:api:messages:2.0:ListResponse"
      ],
      "startIndex": 1,
      "totalResults": 2
    }

    Not Found

    API error response.

    Expand All

    Field

    Type

    Description

    errors [required]

    [string]

    A list of errors.

    {
      "errors": [
        "Bad Request"
      ]
    }

    Too many requests

    API error response.

    Expand All

    Field

    Type

    Description

    errors [required]

    [string]

    A list of errors.

    {
      "errors": [
        "Bad Request"
      ]
    }

    Code Example

                      # Curl command
    curl -X GET "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.us2.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/scim/ResourceTypes" \ -H "Accept: application/json" \ -H "Authorization: Bearer ${DD_BEARER_TOKEN}"