Leave an organization/Decline an invite to an organization – Management API – MediaKind

Leave an organization/Decline an invite to an organization

del https://app.mk.io/api/v1/user/organizations/:organization_id

This endpoint allows the current user to remove their access to a particular MK.IO organization. This operation can only be reversed by accepting a new invitation from that organization.

If you are still not part of that organization but have a pending invite for it, this endpoint would decline that invitation.

Requires authentication; no additional RBAC permissions required.

Authentication

Authorization Bearer

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

Path parameters

organization_id string Required format: uuid

Response

204 OK

No response body.

Errors

400 Bad Request

error object ErrorDetail Required

Pertinent information about the error

401 Unauthorized

error object ErrorDetail Required

Pertinent information about the error

403 Forbidden

error object ErrorDetail Required

Pertinent information about the error

404 Not Found

error object ErrorDetail Required

Pertinent information about the error

429 Too Many Requests

error object ErrorDetail Required

Pertinent information about the error

500 Internal Server Error

error object ErrorDetail Required

Pertinent information about the error