POST
/
v1
/
organizations
/
{id}
/
users
/
{userId}
curl --request POST \
  --url https://api.edgee.app/v1/organizations/{id}/users/{userId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "role": "admin"
}'
{
  "object": "user",
  "id": "<string>",
  "email": "<string>",
  "name": "<string>",
  "avatar_url": "<string>",
  "created_at": "2022-03-01T00:00:00Z",
  "updated_at": "2022-03-01T00:00:00Z",
  "role": "admin"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token. More info here

Path Parameters

id
string
required
userId
string
required

Body

application/json

A User is a unique identifier that you can use to manage and organize your work.

Response

200
application/json

The updated User

A User is a unique identifier that you can use to manage and organize your work.