Skip to content
LogoLogo

Restore a former member

Restore a former member

POST/api/v1/workspaces/{workspace_id}/members

Reactivates the membership of somebody who was removed or who left. It takes a user_id an administrator has already seen in the member list, and it is not a path for net-new people.

There is deliberately no address input. An endpoint that resolved an arbitrary email to an account would answer, for any caller who can manage members, whether that address is registered with Assign. Net-new people join through invitations, which prove control of the mailbox instead.

Reactivating an already-active membership is idempotent.

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-CSRF-TokenRequired
string·min 43·max 43

Session-bound CSRF token. It must exactly match the __Host-assign_csrf cookie sent with the request.

Idempotency-KeyRequired
string·min 16·max 200

Opaque client-generated key for safely retrying this operation.

Request Body

application/json
user_idRequired
string <uuid>

Opaque Assign-owned UUIDv7 identifier. Clients must not derive meaning from it.

Example0198ac5e-f9b7-7000-8000-000000000001

Responses