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
account_id
string
required
account_update
object
required
update_mask
string

Response

200
application/json
OK
account
object

An account that can be used to identify someone within the Motto Studio API. Important: not to be confused with User which is a user of the Motto Content Delivery API.