Auth0 resource-servers API

The resource-servers API from Auth0 — 2 operation(s) for resource-servers.

Operations 5

GET /resource-servers Get Resource Servers #
POST /resource-servers Create a Resource Server #
GET /resource-servers/{id} Get a Resource Server #
DELETE /resource-servers/{id} Delete a Resource Server #
PATCH /resource-servers/{id} Update a Resource Server #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/auth0-resource-servers-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

auth0-resource-servers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Auth0 Management Resource Servers API
  description: Auth0 Management API v2.
  termsOfService: https://auth0.com/web-terms/
  contact:
    name: Auth0 Support
    url: https://support.auth0.com
  version: '2.0'
servers:
- url: https://{tenantDomain}/api/v2
  variables:
    tenantDomain:
      default: '{TENANT}.auth0.com'
      description: Auth0 Tenant Domain
security:
- bearerAuth: []
tags:
- name: resource-servers
paths:
  /resource-servers:
    get:
      summary: Get Resource Servers
      description: Retrieve details of all APIs associated with your tenant.
      tags:
      - resource-servers
      parameters:
      - name: identifiers
        in: query
        description: An optional filter on the resource server identifier. Must be URL encoded and may be specified multiple times (max 10).<br /><b>e.g.</b> <i>../resource-servers?identifiers=id1&identifiers=id2</i>
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
            minLength: 1
      - name: page
        in: query
        description: Page index of the results to return. First page is 0.
        schema:
          type: integer
          minimum: 0
      - name: per_page
        in: query
        description: Number of results per page.
        schema:
          type: integer
          minimum: 1
          maximum: 100
      - name: include_totals
        in: query
        description: Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
        schema:
          type: boolean
      - name: include_fields
        in: query
        description: Whether specified fields are to be included (true) or excluded (false).
        schema:
          type: boolean
      responses:
        '200':
          description: Resource servers successfully retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListResourceServerResponseContent'
        '400':
          description: Invalid request query string. The message will vary depending on the cause.
        '401':
          description: Invalid token.
          x-description-1: Client is not global.
          x-description-2: Invalid signature received for JSON Web Token validation.
        '403':
          description: 'Insufficient scope, expected any of: read:resource_servers.'
        '429':
          description: Too many requests. Check the X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers.
      operationId: get_resource-servers
      x-release-lifecycle: GA
      x-operation-name: list
      x-operation-request-parameters-name: ListResourceServerRequestParameters
      x-operation-group: resourceServers
      security:
      - bearerAuth: []
      - oAuth2ClientCredentials:
        - read:resource_servers
    post:
      summary: Create a Resource Server
      description: Create a new API associated with your tenant. Note that all new APIs must be registered with Auth0. For more information, read <a href="https://www.auth0.com/docs/get-started/apis"> APIs</a>.
      tags:
      - resource-servers
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateResourceServerRequestContent'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CreateResourceServerRequestContent'
      responses:
        '201':
          description: Resource server successfully created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateResourceServerResponseContent'
        '400':
          description: Invalid request body. The message will vary depending on the cause.
          x-description-1: The selected identifier is reserved.
        '401':
          description: Invalid token.
          x-description-1: Client is not global.
          x-description-2: Invalid signature received for JSON Web Token validation.
        '403':
          description: 'Insufficient scope; expected any of: create:resource_servers.'
          x-description-1: You reached the limit of entities of this type for this tenant.
        '409':
          description: A resource server with the same identifier already exists.
        '429':
          description: Too many requests. Check the X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers.
      operationId: post_resource-servers
      x-release-lifecycle: GA
      x-operation-name: create
      x-operation-group: resourceServers
      security:
      - bearerAuth: []
      - oAuth2ClientCredentials:
        - create:resource_servers
  /resource-servers/{id}:
    get:
      summary: Get a Resource Server
      description: Retrieve <a href="https://auth0.com/docs/apis">API</a> details with the given ID.
      tags:
      - resource-servers
      parameters:
      - name: id
        in: path
        description: ID or audience of the resource server to retrieve.
        required: true
        schema:
          type: string
      - name: include_fields
        in: query
        description: Whether specified fields are to be included (true) or excluded (false).
        schema:
          type: boolean
      responses:
        '200':
          description: Resource server successfully retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetResourceServerResponseContent'
        '400':
          description: Invalid request URI. The message will vary depending on the cause.
          x-description-1: Invalid request query string. The message will vary depending on the cause.
        '401':
          description: Invalid token.
          x-description-1: Client is not global.
          x-description-2: Invalid signature received for JSON Web Token validation.
        '403':
          description: 'Insufficient scope; expected any of: read:resource_servers.'
          x-description-1: Some fields cannot be read with the permissions granted by the bearer token scopes. The message will vary depending on the fields and the scopes.
        '404':
          description: Resource server not found.
        '429':
          description: Too many requests. Check the X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers.
      operationId: get_resource-servers_by_id
      x-release-lifecycle: GA
      x-operation-name: get
      x-operation-request-parameters-name: GetResourceServerRequestParameters
      x-operation-group: resourceServers
      security:
      - bearerAuth: []
      - oAuth2ClientCredentials:
        - read:resource_servers
    delete:
      summary: Delete a Resource Server
      description: Delete an existing API by ID. For more information, read <a href="https://www.auth0.com/docs/get-started/apis/api-settings">API Settings</a>.
      tags:
      - resource-servers
      parameters:
      - name: id
        in: path
        description: ID or the audience of the resource server to delete.
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Resource server successfully deleted.
        '400':
          description: Invalid request URI. The message will vary depending on the cause.
          x-description-1: System resource servers cannot be deleted.
        '401':
          description: Invalid token.
          x-description-1: Client is not global.
          x-description-2: Invalid signature received for JSON Web Token validation.
        '403':
          description: 'Insufficient scope; expected any of: delete:resource_servers.'
        '429':
          description: Too many requests. Check the X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers.
      operationId: delete_resource-servers_by_id
      x-release-lifecycle: GA
      x-operation-name: delete
      x-operation-group: resourceServers
      security:
      - bearerAuth: []
      - oAuth2ClientCredentials:
        - delete:resource_servers
    patch:
      summary: Update a Resource Server
      description: Change an existing API setting by resource server ID. For more information, read <a href="https://www.auth0.com/docs/get-started/apis/api-settings">API Settings</a>.
      tags:
      - resource-servers
      parameters:
      - name: id
        in: path
        description: ID or audience of the resource server to update.
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateResourceServerRequestContent'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/UpdateResourceServerRequestContent'
      responses:
        '201':
          description: Resource server successfully updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateResourceServerResponseContent'
        '400':
          description: Invalid request body. The message will vary depending on the cause.
          x-description-1: System resource servers cannot be patched.
        '401':
          description: Invalid token.
          x-description-1: Client is not global.
          x-description-2: Invalid signature received for JSON Web Token validation.
        '403':
          description: 'Insufficient scope; expected any of: update:resource_servers.'
        '409':
          description: A resource server with the same identifier already exists.
        '429':
          description: Too many requests. Check the X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers.
      operationId: patch_resource-servers_by_id
      x-release-lifecycle: GA
      x-operation-name: update
      x-operation-group: resourceServers
      security:
      - bearerAuth: []
      - oAuth2ClientCredentials:
        - update:resource_servers
components:
  schemas:
    ResourceServerAuthorizationPolicy:
      type:
      - object
      - 'null'
      description: Authorization policy for the resource server.
      additionalProperties: false
      required:
      - policy_id
      x-release-lifecycle: EA
      properties:
        policy_id:
          type: string
          description: The ID of the authorization policy to apply.
          minLength: 1
          maxLength: 1024
    ResourceServerSubjectTypeAuthorizationUser:
      type: object
      description: Access Permissions for user flows
      additionalProperties: true
      properties:
        policy:
          $ref: '#/components/schemas/ResourceServerSubjectTypeAuthorizationUserPolicyEnum'
    SigningAlgorithmEnum:
      type: string
      description: Algorithm used to sign JWTs. Can be `HS256` (default) or `RS256`. `PS256` available via addon.
      default: HS256
      enum:
      - HS256
      - RS256
      - RS512
      - PS256
    ResourceServerTokenEncryptionAlgorithmEnum:
      type: string
      description: Algorithm used to encrypt the token.
      enum:
      - RSA-OAEP-256
      - RSA-OAEP-384
      - RSA-OAEP-512
    ResourceServerTokenDialectResponseEnum:
      type: string
      description: Dialect of access tokens that should be issued. `access_token` is a JWT containing standard Auth0 claims; `rfc9068_profile` is a JWT conforming to the IETF JWT Access Token Profile. `access_token_authz` and `rfc9068_profile_authz` additionally include RBAC permissions claims.
      enum:
      - access_token
      - access_token_authz
      - rfc9068_profile
      - rfc9068_profile_authz
    ListResourceServerResponseContent:
      oneOf:
      - type: array
        items:
          $ref: '#/components/schemas/ResourceServer'
      - $ref: '#/components/schemas/ListResourceServerOffsetPaginatedResponseContent'
    ResourceServer:
      type: object
      additionalProperties: false
      properties:
        id:
          type: string
          description: ID of the API (resource server).
        name:
          type: string
          description: Friendly name for this resource server. Can not contain `<` or `>` characters.
        is_system:
          type: boolean
          description: Whether this is an Auth0 system API (true) or a custom API (false).
        identifier:
          type: string
          description: Unique identifier for the API used as the audience parameter on authorization calls. Can not be changed once set.
        scopes:
          type: array
          description: List of permissions (scopes) that this API uses.
          items:
            $ref: '#/components/schemas/ResourceServerScope'
        signing_alg:
          $ref: '#/components/schemas/SigningAlgorithmEnum'
        signing_secret:
          type: string
          description: Secret used to sign tokens when using symmetric algorithms (HS256).
          minLength: 16
        allow_offline_access:
          type: boolean
          description: Whether refresh tokens can be issued for this API (true) or not (false).
        allow_online_access:
          type: boolean
          description: Whether Online Refresh Tokens can be issued for this API (true) or not (false).
        skip_consent_for_verifiable_first_party_clients:
          type: boolean
          description: Whether to skip user consent for applications flagged as first party (true) or not (false).
        token_lifetime:
          type: integer
          description: Expiration value (in seconds) for access tokens issued for this API from the token endpoint.
        token_lifetime_for_web:
          type: integer
          description: Expiration value (in seconds) for access tokens issued for this API via Implicit or Hybrid Flows. Cannot be greater than the `token_lifetime` value.
        enforce_policies:
          type: boolean
          description: Whether authorization polices are enforced (true) or unenforced (false).
        token_dialect:
          $ref: '#/components/schemas/ResourceServerTokenDialectResponseEnum'
        token_encryption:
          $ref: '#/components/schemas/ResourceServerTokenEncryption'
        consent_policy:
          $ref: '#/components/schemas/ResourceServerConsentPolicyEnum'
        authorization_details:
          type:
          - array
          - 'null'
          items: {}
        proof_of_possession:
          $ref: '#/components/schemas/ResourceServerProofOfPossession'
        subject_type_authorization:
          $ref: '#/components/schemas/ResourceServerSubjectTypeAuthorization'
        authorization_policy:
          $ref: '#/components/schemas/ResourceServerAuthorizationPolicy'
          x-release-lifecycle: EA
        client_id:
          type: string
          description: The client ID of the client that this resource server is linked to
          format: client-id
    CreateResourceServerRequestContent:
      type: object
      additionalProperties: false
      required:
      - identifier
      properties:
        name:
          type: string
          description: Friendly name for this resource server. Can not contain `<` or `>` characters.
          maxLength: 200
          pattern: ^[^<>]+$
        identifier:
          type: string
          description: Unique identifier for the API used as the audience parameter on authorization calls. Can not be changed once set.
          minLength: 1
          maxLength: 600
        scopes:
          type: array
          description: List of permissions (scopes) that this API uses.
          items:
            $ref: '#/components/schemas/ResourceServerScope'
        signing_alg:
          $ref: '#/components/schemas/SigningAlgorithmEnum'
        signing_secret:
          type: string
          description: Secret used to sign tokens when using symmetric algorithms (HS256).
          minLength: 16
        allow_offline_access:
          type: boolean
          description: Whether refresh tokens can be issued for this API (true) or not (false).
        allow_online_access:
          type: boolean
          description: Whether Online Refresh Tokens can be issued for this API (true) or not (false).
        token_lifetime:
          type: integer
          description: Expiration value (in seconds) for access tokens issued for this API from the token endpoint.
          minimum: 0
          maximum: 2592000
        token_dialect:
          $ref: '#/components/schemas/ResourceServerTokenDialectSchemaEnum'
        skip_consent_for_verifiable_first_party_clients:
          type: boolean
          description: Whether to skip user consent for applications flagged as first party (true) or not (false).
        enforce_policies:
          type: boolean
          description: Whether to enforce authorization policies (true) or to ignore them (false).
        token_encryption:
          $ref: '#/components/schemas/ResourceServerTokenEncryption'
        consent_policy:
          $ref: '#/components/schemas/ResourceServerConsentPolicyEnum'
        authorization_details:
          type:
          - array
          - 'null'
          items: {}
        proof_of_possession:
          $ref: '#/components/schemas/ResourceServerProofOfPossession'
        subject_type_authorization:
          $ref: '#/components/schemas/ResourceServerSubjectTypeAuthorization'
        authorization_policy:
          $ref: '#/components/schemas/ResourceServerAuthorizationPolicy'
          x-release-lifecycle: EA
    GetResourceServerResponseContent:
      type: object
      additionalProperties: false
      properties:
        id:
          type: string
          description: ID of the API (resource server).
        name:
          type: string
          description: Friendly name for this resource server. Can not contain `<` or `>` characters.
        is_system:
          type: boolean
          description: Whether this is an Auth0 system API (true) or a custom API (false).
        identifier:
          type: string
          description: Unique identifier for the API used as the audience parameter on authorization calls. Can not be changed once set.
        scopes:
          type: array
          description: List of permissions (scopes) that this API uses.
          items:
            $ref: '#/components/schemas/ResourceServerScope'
        signing_alg:
          $ref: '#/components/schemas/SigningAlgorithmEnum'
        signing_secret:
          type: string
          description: Secret used to sign tokens when using symmetric algorithms (HS256).
          minLength: 16
        allow_offline_access:
          type: boolean
          description: Whether refresh tokens can be issued for this API (true) or not (false).
        allow_online_access:
          type: boolean
          description: Whether Online Refresh Tokens can be issued for this API (true) or not (false).
        skip_consent_for_verifiable_first_party_clients:
          type: boolean
          description: Whether to skip user consent for applications flagged as first party (true) or not (false).
        token_lifetime:
          type: integer
          description: Expiration value (in seconds) for access tokens issued for this API from the token endpoint.
        token_lifetime_for_web:
          type: integer
          description: Expiration value (in seconds) for access tokens issued for this API via Implicit or Hybrid Flows. Cannot be greater than the `token_lifetime` value.
        enforce_policies:
          type: boolean
          description: Whether authorization polices are enforced (true) or unenforced (false).
        token_dialect:
          $ref: '#/components/schemas/ResourceServerTokenDialectResponseEnum'
        token_encryption:
          $ref: '#/components/schemas/ResourceServerTokenEncryption'
        consent_policy:
          $ref: '#/components/schemas/ResourceServerConsentPolicyEnum'
        authorization_details:
          type:
          - array
          - 'null'
          items: {}
        proof_of_possession:
          $ref: '#/components/schemas/ResourceServerProofOfPossession'
        subject_type_authorization:
          $ref: '#/components/schemas/ResourceServerSubjectTypeAuthorization'
        authorization_policy:
          $ref: '#/components/schemas/ResourceServerAuthorizationPolicy'
          x-release-lifecycle: EA
        client_id:
          type: string
          description: The client ID of the client that this resource server is linked to
          format: client-id
    ListResourceServerOffsetPaginatedResponseContent:
      type: object
      additionalProperties: false
      properties:
        start:
          type: number
        limit:
          type: number
        total:
          type: number
        resource_servers:
          type: array
          items:
            $ref: '#/components/schemas/ResourceServer'
    ResourceServerSubjectTypeAuthorizationClient:
      type: object
      description: Access Permissions for client flows
      additionalProperties: true
      properties:
        policy:
          $ref: '#/components/schemas/ResourceServerSubjectTypeAuthorizationClientPolicyEnum'
    ResourceServerProofOfPossessionRequiredForEnum:
      type: string
      description: Specifies which client types require Proof-of-Possession
      enum:
      - public_clients
      - all_clients
    ResourceServerSubjectTypeAuthorizationUserPolicyEnum:
      type: string
      description: Defines the user flows policy for the resource server
      enum:
      - allow_all
      - deny_all
      - require_client_grant
    CreateResourceServerResponseContent:
      type: object
      additionalProperties: false
      properties:
        id:
          type: string
          description: ID of the API (resource server).
        name:
          type: string
          description: Friendly name for this resource server. Can not contain `<` or `>` characters.
        is_system:
          type: boolean
          description: Whether this is an Auth0 system API (true) or a custom API (false).
        identifier:
          type: string
          description: Unique identifier for the API used as the audience parameter on authorization calls. Can not be changed once set.
        scopes:
          type: array
          description: List of permissions (scopes) that this API uses.
          items:
            $ref: '#/components/schemas/ResourceServerScope'
        signing_alg:
          $ref: '#/components/schemas/SigningAlgorithmEnum'
        signing_secret:
          type: string
          description: Secret used to sign tokens when using symmetric algorithms (HS256).
          minLength: 16
        allow_offline_access:
          type: boolean
          description: Whether refresh tokens can be issued for this API (true) or not (false).
        allow_online_access:
          type: boolean
          description: Whether Online Refresh Tokens can be issued for this API (true) or not (false).
        skip_consent_for_verifiable_first_party_clients:
          type: boolean
          description: Whether to skip user consent for applications flagged as first party (true) or not (false).
        token_lifetime:
          type: integer
          description: Expiration value (in seconds) for access tokens issued for this API from the token endpoint.
        token_lifetime_for_web:
          type: integer
          description: Expiration value (in seconds) for access tokens issued for this API via Implicit or Hybrid Flows. Cannot be greater than the `token_lifetime` value.
        enforce_policies:
          type: boolean
          description: Whether authorization polices are enforced (true) or unenforced (false).
        token_dialect:
          $ref: '#/components/schemas/ResourceServerTokenDialectResponseEnum'
        token_encryption:
          $ref: '#/components/schemas/ResourceServerTokenEncryption'
        consent_policy:
          $ref: '#/components/schemas/ResourceServerConsentPolicyEnum'
        authorization_details:
          type:
          - array
          - 'null'
          items: {}
        proof_of_possession:
          $ref: '#/components/schemas/ResourceServerProofOfPossession'
        subject_type_authorization:
          $ref: '#/components/schemas/ResourceServerSubjectTypeAuthorization'
        authorization_policy:
          $ref: '#/components/schemas/ResourceServerAuthorizationPolicy'
          x-release-lifecycle: EA
        client_id:
          type: string
          description: The client ID of the client that this resource server is linked to
          format: client-id
    ResourceServerTokenEncryption:
      type:
      - object
      - 'null'
      additionalProperties: false
      required:
      - format
      - encryption_key
      properties:
        format:
          $ref: '#/components/schemas/ResourceServerTokenEncryptionFormatEnum'
        encryption_key:
          $ref: '#/components/schemas/ResourceServerTokenEncryptionKey'
    ResourceServerProofOfPossessionMechanismEnum:
      type: string
      description: Intended mechanism for Proof-of-Possession
      enum:
      - mtls
      - dpop
    ResourceServerTokenEncryptionKey:
      type: object
      additionalProperties: false
      required:
      - alg
      - pem
      properties:
        name:
          type: string
          description: Name of the encryption key.
          minLength: 1
          maxLength: 128
        alg:
          $ref: '#/components/schemas/ResourceServerTokenEncryptionAlgorithmEnum'
        kid:
          type: string
          description: Key ID.
          minLength: 1
          maxLength: 128
        pem:
          type: string
          description: PEM-formatted public key. Must be JSON escaped.
          default: '-----BEGIN PUBLIC KEY-----

            MIIBIjANBg...

            -----END PUBLIC KEY-----

            '
          minLength: 1
          maxLength: 4096
    ResourceServerProofOfPossession:
      type:
      - object
      - 'null'
      description: Proof-of-Possession configuration for access tokens
      additionalProperties: false
      required:
      - mechanism
      - required
      properties:
        mechanism:
          $ref: '#/components/schemas/ResourceServerProofOfPossessionMechanismEnum'
        required:
          type: boolean
          description: Whether the use of Proof-of-Possession is required for the resource server
        required_for:
          $ref: '#/components/schemas/ResourceServerProofOfPossessionRequiredForEnum'
    UpdateResourceServerResponseContent:
      type: object
      additionalProperties: false
      properties:
        id:
          type: string
          description: ID of the API (resource server).
        name:
          type: string
          description: Friendly name for this resource server. Can not contain `<` or `>` characters.
        is_system:
          type: boolean
          description: Whether this is an Auth0 system API (true) or a custom API (false).
        identifier:
          type: string
          description: Unique identifier for the API used as the audience parameter on authorization calls. Can not be changed once set.
        scopes:
          type: array
          description: List of permissions (scopes) that this API uses.
          items:
            $ref: '#/components/schemas/ResourceServerScope'
        signing_alg:
          $ref: '#/components/schemas/SigningAlgorithmEnum'
        signing_secret:
          type: string
          description: Secret used to sign tokens when using symmetric algorithms (HS256).
          minLength: 16
        allow_offline_access:
          type: boolean
          description: Whether refresh tokens can be issued for this API (true) or not (false).
        allow_online_access:
          type: boolean
          description: Whether Online Refresh Tokens can be issued for this API (true) or not (false).
        skip_consent_for_verifiable_first_party_clients:
          type: boolean
          description: Whether to skip user consent for applications flagged as first party (true) or not (false).
        token_lifetime:
          type: integer
          description: Expiration value (in seconds) for access tokens issued for this API from the token endpoint.
        token_lifetime_for_web:
          type: integer
          description: Expiration value (in seconds) for access tokens issued for this API via Implicit or Hybrid Flows. Cannot be greater than the `token_lifetime` value.
        enforce_policies:
          type: boolean
          description: Whether authorization polices are enforced (true) or unenforced (false).
        token_dialect:
          $ref: '#/components/schemas/ResourceServerTokenDialectResponseEnum'
        token_encryption:
          $ref: '#/components/schemas/ResourceServerTokenEncryption'
        consent_policy:
          $ref: '#/components/schemas/ResourceServerConsentPolicyEnum'
        authorization_details:
          type:
          - array
          - 'null'
          items: {}
        proof_of_possession:
          $ref: '#/components/schemas/ResourceServerProofOfPossession'
        subject_type_authorization:
          $ref: '#/components/schemas/ResourceServerSubjectTypeAuthorization'
        authorization_policy:
          $ref: '#/components/schemas/ResourceServerAuthorizationPolicy'
          x-release-lifecycle: EA
        client_id:
          type: string
          description: The client ID of the client that this resource server is linked to
          format: client-id
    UpdateResourceServerRequestContent:
      type: object
      additionalProperties: false
      properties:
        name:
          type: string
          description: Friendly name for this resource server. Can not contain `<` or `>` characters.
          maxLength: 200
          pattern: ^[^<>]+$
        scopes:
          type: array
          description: List of permissions (scopes) that this API uses.
          items:
            $ref: '#/components/schemas/ResourceServerScope'
        signing_alg:
          $ref: '#/components/schemas/SigningAlgorithmEnum'
        signing_secret:
          type: string
          description: Secret used to sign tokens when using symmetric algorithms (HS256).
          minLength: 16
        skip_consent_for_verifiable_first_party_clients:
          type: boolean
          description: Whether to skip user consent for applications flagged as first party (true) or not (false).
        allow_offline_access:
          type: boolean
          description: Whether refresh tokens can be issued for this API (true) or not (false).
        allow_online_access:
          type: boolean
          description: Whether Online Refresh Tokens can be issued for this API (true) or not (false).
        token_lifetime:
          type: integer
          description: Expiration value (in seconds) for access tokens issued for this API from the token endpoint.
          minimum: 0
          maximum: 2592000
        token_dialect:
          $ref: '#/components/schemas/ResourceServerTokenDialectSchemaEnum'
        enforce_policies:
          type: boolean
          description: Whether authorization policies are enforced (true) or not enforced (false).
        token_encryption:
          $ref: '#/components/schemas/ResourceServerTokenEncryption'
        consent_policy:
          $ref: '#/components/schemas/ResourceServerConsentPolicyEnum'
        authorization_details:
          type:
          - array
          - 'null'
          items: {}
        proof_of_possession:
          $ref: '#/components/schemas/ResourceServerProofOfPossession'
        subject_type_authorization:
          $ref: '#/components/schemas/ResourceServerSubjectTypeAuthorization'
        authorization_policy:
          $ref: '#/components/schemas/ResourceServerAuthorizationPolicy'
          x-release-lifecycle: EA
    ResourceServerTokenDialectSchemaEnum:
      type: string
      description: Dialect of issued access token. `access_token` is a JWT containing standard Auth0 claims; `rfc9068_profile` is a JWT conforming to the IETF JWT Access Token Profile. `access_token_authz` and `rfc9068_profile_authz` additionally include RBAC permissions claims.
      enum:
      - access_token
      - access_token_authz
      - rfc9068_profile
      - rfc9068_profile_authz
    ResourceServerTokenEncryptionFormatEnum:
      description: Format of the encrypted JWT payload.
      enum:
      - compact-nested-jwe
    ResourceServerConsentPolicyEnum:
      type:
      - stri

# --- truncated at 32 KB (45 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/auth0/refs/heads/main/openapi/auth0-resource-servers-api-openapi.yml