---
title: "Delete a client rol"
method: DELETE
path: "/clients/{id_client}/roles/{id_rol}"
tags: ["client_roles"]
---

# Delete a client rol

`DELETE /clients/{id_client}/roles/{id_rol}`

## Request

- Base URL: `https://api.planvortex.com/v1.0.0`
- URL: `https://api.planvortex.com/v1.0.0/clients/{id_client}/roles/{id_rol}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (client credentials, token URL `https://api.planvortex.com/v1.0.0/oauth/token`)

Delete the client role received in parameters

## Path parameters

- `id_rol` string, required
- `id_client` string, required

## Response `200`

Successful operation

- Success: What an operation with nothing to return answers. A failure never looks like this: it comes back as an `Error` with HTTP 400.
  - `success` boolean, required

## Other responses

- `400`: The request failed. The body carries the PlanVortex error code in `code`: | Code | Meaning | | --- | --- | | `1203` | Invalid client role | | `521` | Invalid client. The identifier is invalid o doesn't exists |
- `500`: Unhandled error by the server

---

[API](https://skmtc.dev/planvortex/apis/planvortex-api.md) · [All operations](https://skmtc.dev/planvortex/apis/planvortex-api/llms.txt) · [OpenAPI document](https://skmtc.dev/planvortex/apis/planvortex-api/revisions/abedbbc1cd52?raw)
