PATCH
/
iam
/
accounts
/
v1
/
{account_id}
curl --request PATCH \
  --url https://api.mottostreaming.com/iam/accounts/v1/{account_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "account_id": "<string>",
  "account_update": {
    "first_name": "<string>",
    "last_name": "<string>"
  },
  "update_mask": "<string>"
}'
{
  "account": {
    "id": "<string>",
    "first_name": "<string>",
    "last_name": "<string>",
    "email": "<string>",
    "verified": true,
    "survey": "SURVEY_STATUS_UNSPECIFIED"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

account_id
string
required

Body

application/json

Response

200
application/json

OK

The response is of type object.