---
title: "Remove tool permissions person"
url: https://hexelstudio.com/docs/api/titan/management/remove-tool-permissions-person
---

# Remove tool permissions person

**DELETE** `/titan/management/tool-permissions/people/{person_ref}`

Removes every tool permissions setting of one person in the organization (an administrator freeing a place or removing someone's settings); the person is held to the defaults again. Answers removed false when the person had none.

## Path parameters

- `person_ref: string`

  A person's person_ref from GET .../tool-permissions/people (base64url of the person's id).

## Headers

- `Authorization: string`

  `Bearer <token>`. A Hexel Studio access token for a member or a service user of your organization (or send a service user's API key as X-API-Key).

## Returns

`200` Organization-scoped result. (`ToolPermissionsPersonRemoved`)

- `deployments: optional array of object`

  - `applied: boolean`

  - `deployment_id: string`

  - `enforcement_deployment_id: string`

  - `error_code: optional string`

- `human_principal_id: string`

- `removed: boolean`

## Errors

- `400` INVALID_REQUEST: the body is not the closed record (v 1, the path's toolkit, groups read/write/delete and tools levels allow, approval or blocked, nothing else) or the path has a query; TOOL_NOT_IN_TOOLKIT when a tools key names no tool of the toolkit in the organization's catalog (for a person: none the organization did not block).
- `401` Missing or invalid authenticated context.
- `403` Organization mismatch, or the IAM action titan:policy:read (reads) or titan:policy:publish (writes) is denied.
- `404` NOT_FOUND for every tool permissions path while the organization does not have tool permissions; TOOLKIT_NOT_FOUND when no tool of the toolkit is in the organization's catalog.
- `405` HTTP method is not supported on this route.
- `409` ABOVE_ORGANIZATION_CEILING: a person's level is less strict than the organization's for the tool (or, for a group, its group_ceilings level); APPROVAL_REQUIRED_BY_TOOL: allow for a tool with approval_required_by_tool; TOOL_PERMISSIONS_LIMIT: over 512 tools in the record, 10,000 people with settings in the organization (at most 1,000 of them from other organizations), or the composed policy's bounds for a deployment; POLICY_LAYER_INVALID: a deployment's Configuration Authority would refuse the composed policy. Nothing is stored.
- `502` The plane or a deployment's Configuration Authority refused or answered unexpectedly (closed code).
- `503` Local storage or a Configuration Authority unavailable (the organization's tool list cannot be read).

## Example

```bash
curl --request DELETE \
  --url 'https://api.hexelstudio.com/v1/titan/management/tool-permissions/people/{person_ref}' \
  --header "Authorization: Bearer $ACCESS_TOKEN"
```

### Response (200)

```json
{
  "deployments": [
    {
      "applied": true,
      "deployment_id": "string",
      "enforcement_deployment_id": "string",
      "error_code": "string"
    }
  ],
  "human_principal_id": "string",
  "removed": true
}
```

### Response (400)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (401)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (403)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (404)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (405)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (409)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (502)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```

### Response (503)

```json
{
  "error": {
    "billing_url": "string",
    "code": "string",
    "message": "string"
  }
}
```
