Skip to main content

Archive Invite Code

POST 

/api/admin/portal/invite-codes/:inviteCode/archive

Archive an invite code: it stops working at sign-up and is hidden from List Invite Codes unless filter[archived] is sent. Its code string stays reserved. Archiving an archived code changes nothing. Returns the code.

Required scope: customers:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Request​

Responses​

OK

Response Headers
    Content-Type