> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lerian.studio/llms.txt
> Use this file to discover all available pages before exploring further.

# Unlink a Provider from an Application

> Use this endpoint to remove a provider link from an application. The provider itself is not deleted.



## OpenAPI

````yaml /en/openapi/v3-current/AM-identity.yaml delete /v1/applications/{id}/providers/{providerId}
openapi: 3.1.0
info:
  title: Identity Plugin
  description: ''
  version: 2.4.2
servers:
  - url: https://identity.sandbox.lerian.net
security: []
tags:
  - name: Groups API
  - name: Applications API
  - name: Users API
  - name: MFA API
  - name: Providers API
  - name: Application Providers API
paths:
  /v1/applications/{id}/providers/{providerId}:
    delete:
      tags:
        - Application Providers API
      summary: Unlink a Provider from an Application
      description: >-
        Use this endpoint to remove a provider link from an application. The
        provider itself is not deleted.
      parameters:
        - $ref: '#/components/parameters/ApplicationId'
        - $ref: '#/components/parameters/ProviderId'
      responses:
        '204':
          description: If the request is successful, you will receive an empty response.
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
              examples:
                Error0003:
                  $ref: '#/components/examples/Error0003'
                Error0007:
                  $ref: '#/components/examples/Error0007'
          headers: {}
        '404':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
              examples:
                Error1001:
                  $ref: '#/components/examples/Error1001'
                Error1012:
                  $ref: '#/components/examples/Error1012'
          headers: {}
        '500':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
              examples:
                Error0006:
                  $ref: '#/components/examples/Error0006'
          headers: {}
      security:
        - bearer: []
components:
  parameters:
    ApplicationId:
      name: id
      in: path
      description: The unique identifier of the application you want to retrieve.
      required: true
      example: 019c96a0-0c0c-7221-8cf3-13313fb60081
      schema:
        type: string
    ProviderId:
      name: providerId
      in: path
      description: The unique identifier of the provider.
      required: true
      example: 019c96a0-1a10-7abc-d1e2-8c9d0e1f2a3b
      schema:
        type: string
  schemas:
    ErrorMessage:
      description: The response message error.
      type: object
      properties:
        code:
          type: string
          description: A unique, stable identifier for the error.
        title:
          type: string
          description: A brief summary of the issue.
        message:
          type: string
          description: Detailed guidance for resolving the error.
  examples:
    Error0003:
      summary: Invalid Path Parameter
      value:
        code: IDE-0003
        title: Invalid Path Parameter
        message: One or more path parameters are in an incorrect format.
    Error0007:
      summary: Bad Request
      value:
        code: IDE-0007
        title: Bad Request
        message: The server could not understand the request due to malformed syntax.
    Error1001:
      summary: Application ID Not Found
      value:
        code: IDE-1001
        title: Application ID Not Found
        message: The provided application ID does not exist in our records.
    Error1012:
      summary: Provider Not Linked
      value:
        code: IDE-1012
        title: Provider Not Linked
        message: The provider is not linked to this application.
    Error0006:
      summary: Internal Server Error
      value:
        code: IDE-0006
        title: Internal Server Error
        message: The server encountered an unexpected error. Please try again later.
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: The authorization token in the 'Bearer <token>' format.

````