Developers API reference Version 1 · generated from the code openapi.json
Routes

organisation

Remove a member

DELETE /api/v1/organisation/members/{member_id}

Take a person out of the organisation. What they created in its space goes to heir_id, required when there is any. The last admin is never removed.

Required scope: org:admin

Path parameters

  • member_id integer · required

    Id of the member.

Query parameters

  • heir_id integer or null · optional

    Id of the member who takes over what the removed member owns in the organisation.

Response

204 No content

Errors

  • 401

    No valid credential.

  • 403

    The credential lacks the required scope, or the account may not do this.

  • 404

    Nothing with that id, or nothing the account may open.

  • 409

    The current state of the content forbids the request.

  • 422

    A value is missing or malformed.

  • 429

    Too many requests; Retry-After gives the seconds to wait.

planner_banner_ad_pt