GET
/api/admin/invite-codes/{invite_code}/usagesAdminCount invite code usages
Returns how many accounts registered with the given invite code.
operationId
get_api_admin_invite_codes_invite_code_usagesAdministrationAuthentication & permissionsAdmin
Platform administrators only
- Accepted credentials
- Auth server session (refresh token cookie)
cookie "refresh_token_<auth_server_app_id>" - Access token (cookie)
cookie "access_token_<auth_server_app_id>" - Access token (Bearer)
Authorization: Bearer <JWT>
- Auth server session (refresh token cookie)
- Who may call
- Platform administrators only
Path parameters
| Name | Type | Description |
|---|---|---|
| invite_code* | string | The invite code |
Responses
application/json
| Property | Type | Description |
|---|---|---|
| success* | true | |
| message* | string | |
| data* | object | |
| invite_code* | string | |
| usage_count* | integer | minimum: 0 |
JSONExample
"success"true
"message""string"
"data"
"invite_code""string"
"usage_count"1
Example request
bashcurl
curl -X GET 'https://auth.schemavaults.com/api/admin/invite-codes/<invite_code>/usages' \
-b 'refresh_token_<auth_server_app_id>=<value>'