Update user

posthttps://statsigapi.net/console/v1/users/{email}

Authorizations

STATSIG-API-KEYstringrequired

apiKey (header)

Path parameters

emailstringrequired

email

Body

application/json
rolestring

Update the user's role. Can be 'Admin', 'Read Only', 'Member', or any custom role name.

firstNamestring

Update the user's first name.

lastNamestring

Update the user's last name.

Response

application/json
200· Update user response
messagestringrequired

A simple string explaining the result of the operation.

dataobjectrequired
Show child attributes
userIDstringrequired

The user's unique ID.

emailstringrequired

The email address of the user.

firstNamestringrequired

The user's first name.

lastNamestringrequired

The user's last name.

rolestringrequired

The user's role, which can be 'Admin', 'Read Only', 'Member', or any custom role name.

400· Invalid request. Please check the request input and try again.
statusintegerrequired
messagestringrequired
401· This endpoint only accepts an active CONSOLE key, but an invalid key was sent. Key: console-xxxXXXxxxXXXxxx
statusintegerrequired
messagestringrequired
403· Forbidden. The request was valid, but the server is refusing action. You might not have the necessary permissions to access the resource.
statusintegerrequired
messagestringrequired
404· Not Found. The requested resource could not be found.
statusintegerrequired
messagestringrequired

Was this helpful?