Skip to content

Set Profile Option

Request

Sets the value of a profile option for the specified user. Admin only.

Security
ApiKeyAuth
Path
user_idinteger(UserId)required
Example:123
keystringrequired

the profile option key

Bodyapplication/json
valuestringrequired
curl -i -X PUT \
  'https://api.treasuredata.com/v3/access_control/users/123/profile_options/{key}' \
  -H 'Authorization: TD1 <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "value": "string"
  }'

Responses

OK

Bodyapplication/json
property name*string or nulladditional property
Response
{ "property1": "string", "property2": "string" }