---
agentTools:
  projectIndex: https://docs.grafeno.digital/llms.txt
---

# Remover representante legal

Exclui um representante legal do onboarding.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Cadastros - V2",
    "version": "3.0.0"
  },
  "servers": [
    {
      "url": "https://cadastros.grafeno.be/api/onboardings/v2/complete/"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header",
        "x-bearer-format": ""
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/clients/{onboarding_id}/legal_representatives/{legal_representative_id}": {
      "delete": {
        "summary": "Remover representante legal",
        "description": "Exclui um representante legal do onboarding.",
        "operationId": "remove-legal-representative",
        "parameters": [
          {
            "name": "onboarding_id",
            "in": "path",
            "description": "Id da solicitação de cadastro.",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "legal_representative_id",
            "in": "path",
            "description": "Id do representante legal.",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "204": {
            "description": "204",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "null"
                  }
                },
                "schema": {}
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "660ea9b3f8253b0011474422:6610350488ca4800108de2f8"
}
```