Take a hire's GitHub identity away
DELETE
Roster forgets the app; delete it on GitHub too if nothing else uses it.
sessioncookie
better-auth.session_token<token>Set by POST /api/auth/sign-in/email.
ws*stringThe workspace id (from GET /api/me).
connection*stringThe connection's id (from GET /api/workspaces/:ws/connections).
hire*stringThe hire's id.
The identity's status afterwards.
curl -X DELETE 'https://app.useroster.work/api/workspaces/string/github/string/hires/string/app'Example Response
Empty
Give a hire its own GitHub identity POST
Starts GitHub's app-manifest flow. Body: `{ owner: "organization", org: "acme" }` or `{ owner: "personal" }`. Answers with where to send the person: GitHub creates the app, then asks which repositories to install it on.
The install link GET
Where to install (or re-install) the hire's app on more repositories.