Get public signup tokens
GET<your-unleash-url>/api/admin/invite-link/tokens
Retrieves all existing public signup tokens.
Responses
- 200
publicSignupTokensSchema
- application/json
- Schema
- Example (auto)
Schema
tokens object[]required
{
"tokens": [
{
"secret": "a3c84b25409ea8ca1782ef17f94a42fc",
"url": "https://my_unleash_instance/new-user?invite=a3c84b25409ea8ca1782ef17f94a42fc",
"name": "Invite public viewers",
"enabled": false,
"expiresAt": "2023-04-12T11:13:31.960Z",
"createdAt": "2023-04-12T11:13:31.960Z",
"createdBy": "someone",
"users": null,
"role": {
"id": 3,
"type": "root",
"name": "Viewer"
}
}
]
}
Authorization: Authorization
name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L '<your-unleash-url>/api/admin/invite-link/tokens' \
-H 'Accept: application/json' \
-H 'Authorization: <Authorization>'
ResponseClear