メインコンテンツへスキップ
Update an organization's user

承認

Authorization
string
header
必須

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

パスパラメータ

organizationId
number
必須
userId
number
必須

ボディ

application/json
roleIds
number[]
必須

The list of role ids to assign to the user. Note that admin role cannot be used with other roles, and a user can not have more than 10 roles. This methods performs a full update, so all roles will be replaced with the roles in the request.

例:

レスポンス

200 - application/json
id
number
必須
read-only
例:

1

email
string
必須
read-only
例:

"foo.bar@example.com"

name
string
必須
read-only
例:

"foo.bar"

location
enum<string>
必須
利用可能なオプション:
global,
us,
jp
例:

"jp"

roles
object[]
必須
read-only
status
enum<string>
必須
利用可能なオプション:
active,
invited
例:

"active"