PUT  /users/settings

Update limited settings for your user account

Authorization Required

Authorization is required for this resource.


Headers

Content-Type [Required]
application/json
Yes
All API requests must have Content-Type declared.
Authorization [Required]
Bearer authorization_token
Yes
In order to carry out this request, your authorization token will need to be supplied with this request. Your authorization token can be found associated to your account on Rampage. NB: Please never reveal this key publicly.

Body

user[name]
string
No
Modify your name
user[is_unsubscribed]
boolean
No
Modify subscription settings for your account.
user[enable_mfa]
boolean
No
Modify 2FA settings for your account.
user[team_name]
string
No
Modify your team name.
user[theme]
string
No
Change your theme for Rampage.

Response

Success
{"user":{"name":"Richard Jones","is_unsubscribed":false,"enable_mfa":true,"team_name":"Team API","theme":"flatly"}}
Empty Field If Specified In Request
{"errors":"team_name is mandatory."}
Invalid Boolean Specified
{"errors":"enable_mfa needs to be boolean."}