POST
/
console
/
v1
/
users
/
{email}
curl --request POST \
  --url https://statsigapi.net/console/v1/users/{email} \
  --header 'Content-Type: application/json' \
  --header 'STATSIG-API-KEY: <api-key>' \
  --data '{
  "role": "<string>",
  "firstName": "<string>",
  "lastName": "<string>"
}'
{
  "message": "User updated successfully.",
  "data": {
    "email": "test@statsig.com",
    "firstName": "test",
    "lastName": "user",
    "role": "admin"
  }
}

Authorizations

STATSIG-API-KEY
string
header
required

Headers

x-respect-review-settings
string

Optional header to respect review settings for mutation endpoints.

Path Parameters

email
string
required

email

Body

application/json

Schema for updating user information.

Response

200
application/json

Update user response

The response is of type object.