# Cancel pending invite

del ` https://app.mk.io/api/v1/organization/invites/:invite_id`

This endpoint allows you to remove a pending invitation if you change your mind, or if the invitation is wrong.

RBAC Capability Required: `core.invite.delete`

## Authentication

Authorization Bearer

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

## Path parameters

invite_id string Required format: 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

The error code.
- **detail** string Required

The error message.
- **extraDetail** map from strings to any Optional

Extra information regarding this error.

### 401 Unauthorized

error object [ErrorDetail](https://docs.mediakind.com/api-reference/management-api/schemas/errordetail) Required

Pertinent information about the error

- **code** string Required

The error code.
- **detail** string Required

The error message.
- **extraDetail** map from strings to any Optional

Extra information regarding this error.

### 403 Forbidden

error object [ErrorDetail](https://docs.mediakind.com/api-reference/management-api/schemas/errordetail) Required

Pertinent information about the error

- **code** string Required

The error code.
- **detail** string Required

The error message.
- **extraDetail** map from strings to any Optional

Extra information regarding this error.

### 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

The error code.
- **detail** string Required

The error message.
- **extraDetail** map from strings to any Optional

Extra information regarding this error.

### 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

The error code.
- **detail** string Required

The error message.
- **extraDetail** map from strings to any Optional

Extra information regarding this error.

### 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

The error code.
- **detail** string Required

The error message.
- **extraDetail** map from strings to any Optional

Extra information regarding this error.
