Leave an organization/Decline an invite to an organization

delhttps://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

AuthorizationBearer

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

Path parameters

organization_idstringRequiredformat: uuid

Response

204OK

No response body.

Errors

400Bad Request

Loading schema details…

401Unauthorized

Loading schema details…

403Forbidden

Loading schema details…

404Not Found

Loading schema details…

429Too Many Requests

Loading schema details…

500Internal Server Error

Loading schema details…