Let a removed member back in.
They keep the role they had, and their keys work again.
They keep the role they had, and their keys work again.
AuthorizationBearer <token>A Sluby API key (sluby_...) sent as Authorization: Bearer <key>. Keys carry scopes: upload, read, manage.
id*stringMember id.
The restored member.
application/json- response
id*stringuuidname*stringrole*string"admin""member"status*stringremoved: an admin removed the member, who cannot sign in and whose keys stop until they are restored.
"active""removed"sign_in*array<>created_at*stringdate-timelast_sign_in_at*|The latest sign-in by any method, null when the member has none.
date-timecurl -X POST 'https://sluby.example.com/api/v1/members/string/restore'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "role": "admin", "status": "active", "sign_in": [ { "provider": "string", "username": "string" } ], "created_at": "2019-08-24T14:15:22Z", "last_sign_in_at": "2019-08-24T14:15:22Z"}Remove a member. POST
They cannot sign in, every session they have ends and their keys stop, until they are restored. Nobody removes themselves (409 `self`), and the last admin who can sign in stays (409 `last_admin`).
A link where the member sets a new password. POST
Single use, valid for 7 days. For a member who signs in with GitHub only it sets their first password, with an email they choose. Using it ends their other sessions.