UserRemovalRequests

The admin being removed agrees: the change is made now.

Requires ManageUsers and an Idempotency-Key; no body. Only the admin named in the request (the key's creator must be them) can approve, at any time while it is Pending - also after effectiveAt if it has not been applied yet. Refused (409) once closed, or when it would remove the last active Organization Admin (the request then closes as Cancelled). Example: POST /api/v1/users/8f0c3c1e-2b6d-4c55-9a51-0d3f3c1b7e21/removal-requests/12/approve.

post/api/v1/users/{id}/removal-requests/{requestId}/approve

Request

  • Base URL: https://app.flexonthejob.com
  • URL: https://app.flexonthejob.com/api/v1/users/{id}/removal-requests/{requestId}/approve
  • Auth: HTTP bearer

Path parameters

idstring required

User id (string GUID) of the admin named in the request.

requestIdinteger required

Removal request id from GET /api/v1/users/removal-requests.

Response

Approved and applied.

appliedboolean

True when this call demoted / deactivated the account (approval or self-removal).

messagestring

What happened. Example: "Removal requested: pat@example.com will be demoted to Manager on 2026-10-07 (UTC) unless they contest it, or sooner if they approve."

Changes

No recorded changes to this operation across all 1 revision of this API.