Update profile – Management API – MediaKind
Update profile
Patch https://app.mk.io/api/v1/user/profile
This endpoint allows certain fields within the profile to be updated.
Requires authentication; no additional RBAC permissions required.
Authentication
Authorization Bearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
Required
spec: UserProfileSpec_v1
Specification.
Show 11 properties
- company: string Optional 0-1024 characters - Company.
- country: string Optional 0-1024 characters - Country.
- jobRole: string Optional 0-1024 characters - Job Role.
- name: string Optional 1-1024 characters - Full name.
- phoneNumber: string Optional 0-1024 characters - Phone number including international dialing code.
Response
200 OK
- kind: string Required - The kind of record.
- metadata: object UserMetadata Required - Metadata.
Show 1 property
- id: string Required format: uuid - The unique identifier of the user.
Required
spec: UserProfileSpec_v1
Specification.
Show 11 properties
- activeOrganizationId: string Required - Currently selected organization.
- avatar: string Required <=200 characters - Avatar.
- company: string Optional 0-1024 characters - Company.
- contactEmail: string Required 1-1024 characters - Contact email address.
- country: string Optional 0-1024 characters - Country.
- features: map from strings to any Required - Internally managed set of flags indicating access to preview or new features.
Show value schema
- isActive: boolean Required - Is this user active?
- jobRole: string Optional 0-1024 characters - Job Role.
- loginEmail: string Required 1-1024 characters - Email address used for login.
- name: string Optional 1-1024 characters - Full name.
- phoneNumber: string Optional 0-1024 characters - Phone number including international dialing code.
Errors
400 Bad Request
- error: object ErrorDetail Required - Pertinent information about the error.
Show 3 properties
- code: string Required - The error code.
- detail: string Required - The error message.
- extraDetail: map from strings to any Optional - Extra information regarding this error.
Show value schema
- ref: string Required - A reference to the request that caused the error.
- status: integer Required - The HTTP status code.
401 Unauthorized
- Similar structure as 400 Bad Request.
403 Forbidden
- Similar structure as 400 Bad Request.
404 Not Found
- Similar structure as 400 Bad Request.
429 Too Many Requests
- Similar structure as 400 Bad Request.
500 Internal Server Error
- Similar structure as 400 Bad Request.