Revoke a share link
Turn off one of your share links, as the Invite page does. Nobody can join through it any more; students who already joined stay, and its use history is kept. 404 for a link that isn't yours.
bearerAuth coach:writeAuthorizationBearer <token>Personal access token. Scopes: account:read, creator:read, creator:earnings, managed:read, coach:read, brand:read, creators:read, videos:read, analytics:read, onboarding:read, onboarding:signatures, engagement:read, support:read, integrations:read, payouts:read, funds:read, billing:read, groups:write, videos:write, onboarding:write, sync:write, payouts:write, campaigns:write, brand:write, creators:write, engagement:write, support:write, accounts:write, payments:write, creator:write, creator:payouts:write, managed:write, coach:write, agency:write.
Scope: coach:write
linkId*stringThe share link's id, as POST /coach/share-links returned it (the code in its URL).
1 <= lengthdryRun?string"true": run every check and return { dryRun: true, wouldChange } without changing anything.
"true""false"Success.
application/json- response
ok*booleancurl -X DELETE 'https://example.com/api/v1/coach/share-links/string'{ "ok": true}Create a share link POST
Create a reusable invite link to your camp, as the Invite page does. Optional `label` (up to 80 characters kept), `maxUses` and `expiresInDays` (both ignored unless positive; none means unlimited or never). Returns the URL to share and its id, which revokes it. GET /coach/invitations lists your links with their use counts.
Create a stage POST
Add a stage (tier) to sort students into, at the end of your list, as Settings does. Name 1–40 characters, unique among your stages (409 otherwise); colour defaults to "zinc". At most 20 stages (409 beyond). Put students in it with coach.student.stage.set.