Skip to navigation

Leave an organization/Decline an invite to an organization

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

AuthorizationBearer

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

Path parameters

organization_idstringRequiredformat: "uuid"

Response

OK

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error