GuideLab API

Revoke the organization's active join code

Revokes the current active join code so it can no longer be redeemed. Owners and admins only.

DELETE
/organization/join-code

Revokes the current active join code so it can no longer be redeemed. Owners and admins only.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Response Body

application/json

curl -X DELETE "https://example.com/organization/join-code"
{  "success": true}
Empty
Empty
Empty