Unlink a GitHub login
Forgets which member the login is. Pushes by it are held again until it is linked. Writes an Activity entry. Needs `integration:manage`.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
login*stringA GitHub login. It is not told apart by case.
length <= 39Idempotency-Key?stringMakes retries safe. A repeated key with the same request returns the first result and sets
Idempotent-Replayed: true. The same key with a different request answers 409
idempotency.key_reused, and while the first request is still running 409
idempotency.in_progress. Results are kept for 24 hours. Server errors and refusals for lack
of sign-in or permission are not kept, so a retry runs again.
^[A-Za-z0-9_.:-]+$1 <= length <= 255Unlinked.
curl -X DELETE 'https://wardn.example.com/api/v1/github/logins/string'List the GitHub logins linked to members GET
A push is raised by whoever pushed, and GitHub names them by login. A login linked to a member makes that member the requester of what they push, so they cannot approve it. A push by a login nobody is linked to is held until it is linked, because Wardn cannot know that the approver is not the person
Link a GitHub login to a member PUT
Says the login is that member, replacing what it was linked to. Pushes by the login from now on are raised by the member. Writes an Activity entry. Needs `integration:manage`, since the link decides who may not approve what.