# Remove user

del ` https://app.mk.io/api/v1/organization/users/:user_id`

This endpoint allows you to remove a user's access to your organization in MK.IO.

Removing the user will remove the user from all teams in the organization.

If the user is registered in the SSO provider for this organization and logs in again they will be re-added to the organization but any specific team memberships will not be re-created.

RBAC Capability Required: `core.user.remove`

## Authentication

Authorization Bearer

Bearer authentication of the form `Bearer <token>`, where token is your
auth token.

## Path parameters

| Parameter | Type   | Required | Format  |
|-----------|--------|----------|---------|
| user_id   | string | Required  | uuid    |

## Response

### 200 OK
No response body.

## Errors

### 400 Bad Request
- **error**: object [ErrorDetail](https://docs.mediakind.com/api-reference/management-api/schemas/errordetail) Required  
  Pertinent information about the error  
    - **code**: string Required  
    - **detail**: string Required  
    - **extraDetail**: map from strings to any Optional

### 401 Unauthorized
- **error**: object [ErrorDetail](https://docs.mediakind.com/api-reference/management-api/schemas/errordetail) Required  
  Pertinent information about the error  
    - **code**: string Required  
    - **detail**: string Required  
    - **extraDetail**: map from strings to any Optional

### 403 Forbidden
- **error**: object [ErrorDetail](https://docs.mediakind.com/api-reference/management-api/schemas/errordetail) Required  
  Pertinent information about the error  
    - **code**: string Required  
    - **detail**: string Required  
    - **extraDetail**: map from strings to any Optional

### 404 Not Found
- **error**: object [ErrorDetail](https://docs.mediakind.com/api-reference/management-api/schemas/errordetail) Required  
  Pertinent information about the error  
    - **code**: string Required  
    - **detail**: string Required  
    - **extraDetail**: map from strings to any Optional

### 429 Too Many Requests
- **error**: object [ErrorDetail](https://docs.mediakind.com/api-reference/management-api/schemas/errordetail) Required  
  Pertinent information about the error  
    - **code**: string Required  
    - **detail**: string Required  
    - **extraDetail**: map from strings to any Optional

### 500 Internal Server Error
- **error**: object [ErrorDetail](https://docs.mediakind.com/api-reference/management-api/schemas/errordetail) Required  
  Pertinent information about the error  
    - **code**: string Required  
    - **detail**: string Required  
    - **extraDetail**: map from strings to any Optional
