Skip to main content
PATCH
cURL

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
required
update_mask
string<field-mask>

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.

Important: this will be a partial object if the User was registered via OIDC, since such PII is not stored in Motto.

project_id
string
required

The project to which this user belongs.

given_name
string

Given name

family_name
string

Family name

email
string

Email address.

phone_number
string

Phone number.

profile_image_url
string

Profile picture URL.

role
enum<string>

Role of the user.

Available options:
ROLE_UNSPECIFIED,
ROLE_DEFAULT,
ROLE_TESTER,
ROLE_VIP

Response

OK

user
object

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.

Important: this will be a partial object if the User was registered via OIDC, since such PII is not stored in Motto.