cURL
curl --request PATCH \ --url https://api.primeintellect.ai/api/v1/user/slug \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "slug": "<string>" } '
{ "data": { "name": "<string>", "email": "<string>", "id": "<string>", "role": "USER", "createdAt": "2023-11-07T05:31:56Z", "slug": "<string>", "image": "<string>", "emailVerified": true, "hasBetaAccess": false, "isBanned": false, "skipPrepay": false, "blacklist": [] }, "status": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Desired unique username/slug (lowercase, 3-30 chars, a-z, 0-9, -)
3 - 30
Successful Response
Response data
Show child attributes
ADMIN
MANAGER
USER
Response status