Update profile Deprecated

put https://app.mk.io/api/profile/

This endpoint allows certain fields within the profile to be updated.

Authentication

Authorization Bearer

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

Request

This endpoint expects an object.

specobjectUserProfileSpecRequired
Specification.
Show 12 propertiesHide 12 properties
companystring or nullRequired0-1024 characters
Company.
countrystringRequired0-1024 characters
Country.
jobrolestring or nullRequired0-1024 characters
Job Role.
namestringRequired1-1024 characters
Full name.
phonenumberstringRequired0-1024 characters
Phone number including international dialling code

Response

200 OK
metadataobjectUserMetadataRequired
Metadata.
Show 1 propertyHide 1 property
idstringRequiredformat: uuid
The unique identifier of the user.
specobjectUserProfileSpecRequired
Specification.
Show 12 propertiesHide 12 properties
avatarstringRequired<=200 characters
Avatar.
companystring or nullRequired0-1024 characters
Company.
contact_emailstringRequired1-1024 characters
Contact email address
countrystringRequired0-1024 characters
Country.
customer_idstringRequired
Primary customer relationship.
customersmap from strings to stringRequired
Customers.
Show value schemaHide value schema
[any key]string
is_activebooleanRequired
Is this user active?
is_adminbooleanRequired
Is this user a global administrator?
jobrolestring or nullRequired0-1024 characters
Job Role.
namestringRequired1-1024 characters
Full name.
phonenumberstringRequired0-1024 characters
Phone number including international dialling code
signup_problemstring or nullRequired
Issues with signing up to MK.IO?

Errors

400 Bad Request
errorobjectErrorDetailRequired
Pertinent information about the error
Show 3 propertiesHide 3 properties
codestringRequired
The error code.
detailstringRequired
The error message.
extraDetailmap from strings to anyOptional
Extra information regarding this error.
Show value schemaHide value schema
[any key]any
refstringRequired
A reference to the request that caused the error.
statusintegerRequired
The HTTP status code
401 Unauthorized
errorobjectErrorDetailRequired
Pertinent information about the error
Show 3 propertiesHide 3 properties
codestringRequired
The error code.
detailstringRequired
The error message.
extraDetailmap from strings to anyOptional
Extra information regarding this error.
Show value schemaHide value schema
[any key]any
refstringRequired
A reference to the request that caused the error.
statusintegerRequired
The HTTP status code
403 Forbidden
errorobjectErrorDetailRequired
Pertinent information about the error
Show 3 propertiesHide 3 properties
codestringRequired
The error code.
detailstringRequired
The error message.
extraDetailmap from strings to anyOptional
Extra information regarding this error.
Show value schemaHide value schema
[any key]any
refstringRequired
A reference to the request that caused the error.
statusintegerRequired
The HTTP status code
404 Not Found
errorobjectErrorDetailRequired
Pertinent information about the error
Show 3 propertiesHide 3 properties
codestringRequired
The error code.
detailstringRequired
The error message.
extraDetailmap from strings to anyOptional
Extra information regarding this error.
Show value schemaHide value schema
[any key]any
refstringRequired
A reference to the request that caused the error.
statusintegerRequired
The HTTP status code
429 Too Many Requests
errorobjectErrorDetailRequired
Pertinent information about the error
Show 3 propertiesHide 3 properties
codestringRequired
The error code.
detailstringRequired
The error message.
extraDetailmap from strings to anyOptional
Extra information regarding this error.
Show value schemaHide value schema
[any key]any
refstringRequired
A reference to the request that caused the error.
statusintegerRequired
The HTTP status code
500 Internal Server Error
errorobjectErrorDetailRequired
Pertinent information about the error
Show 3 propertiesHide 3 properties
codestringRequired
The error code.
detailstringRequired
The error message.
extraDetailmap from strings to anyOptional
Extra information regarding this error.
Show value schemaHide value schema
[any key]any
refstringRequired
A reference to the request that caused the error.
statusintegerRequired
The HTTP status code