PATCH
/
iam
/
users
/
v1
/
{user_id}
curl --request PATCH \
  --url https://api.mottostreaming.com/iam/users/v1/{user_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "project_id": "<string>",
  "given_name": "<string>",
  "family_name": "<string>",
  "email": "<string>",
  "phone_number": "<string>",
  "profile_image_url": "<string>",
  "role": "ROLE_UNSPECIFIED"
}'
{
  "user": {
    "id": "<string>",
    "project_id": "<string>",
    "given_name": "<string>",
    "family_name": "<string>",
    "email": "<string>",
    "phone_number": "<string>",
    "profile_image_url": "<string>",
    "role": "ROLE_UNSPECIFIED"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

user_id
string
required

Query Parameters

project_id
string
update_mask
string

Body

application/json

A user represents someone that wants to identify themselves within the Motto Content Delivery API. Important: not to be confused with Account which is an account of the Motto Studio API.

Response

200
application/json

OK

The response is of type object.