> For the complete documentation index, see [llms.txt](https://docs.getpenfold.dev/dev/llms.txt)

# Remove a workplace admin

> DELETE /organisations/{organisation_id}/workplace_admins/{workplace_admin_id}
> 
> **Partner organisations only.** A Payroll organisation calling this
> endpoint receives `405 Method Not Allowed`.
> 
> Removes a workplace admin. They can no longer sign in, through you or with a
> Penfold password. Removing an admin who is already removed changes nothing and
> returns `200`. You can register the same person again later.



## Servers
- https://payroll-api.getpenfold.dev/v4: https://payroll-api.getpenfold.dev/v4


## Authentication methods
- O auth2 client credentials


## Parameters

### Path parameters

- **organisation_id** (string)
  Penfold organisation id.

- **workplace_admin_id** (string)
  Penfold workplace admin id.




## Responses
### 200
Workplace admin removed, or already removed. No response body.

### 401
Missing or invalid authentication token

#### Body: application/json (object)
- **error** (string)
  A descriptive error message.


### 404
Admin was never on this organisation, or organisation not one you manage.

#### Body: application/json (object)
- **error** (string)
  A descriptive error message.


### 405
Method not allowed. Partner organisations only.

#### Body: application/json (object)
- **error** (string)
  A descriptive error message.


### 500
Internal server error

#### Body: application/json (object)
- **error** (string)
  A descriptive error message.



[Powered by Bump.sh](https://bump.sh)
