Update organization – Management API – MediaKind
Update organization
patch https://app.mk.io/api/v1/organization
Update your organization details.
RBAC Capability Required: core.customer.update
Authentication
Authorization Bearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
specobject OrganizationSpecSchema Required
Specification
Show 5 propertiesHide 5 properties
- legalEntityAddress string or null Optional
The legal address of the purchaser. - legalEntityContactEmail string or null Optional
The primary officer's email address. - legalEntityName string or null Optional
The legal entity name of the purchaser. - legalEntityOfficer string or null Optional
The name of the primary officer of the purchaser. - name string Optional
Name of the organization
Response
200 OK
- kind string Optional
The kind of record. - metadata object OrganizationMetadataSchema Optional
Metadata
Show 9 propertiesHide 9 properties
created string Optional format: date-time
The time when the resource was createdcreatedBy string Optional format: uuid
ID of the user who created the resourcecreatedByEmail string Optional
Email of the user who created the resourcecreatedById string Required format: uuid
Id of the user who created the organizationcreatedByName string Required
Name of the user who created the organizationid string Required format: uuid
The ID of the resourceisActive boolean Required
Is organization activename string Optional
The name of the resourceupdated string Optional format: date-time
The time when the resource was last updatedspec object OrganizationSpecSchema Required
Specification
Show 5 propertiesHide 5 properties
Errors
400 Bad Request
- error object ErrorDetail Required
Pertinent information about the error
Show 3 propertiesHide 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 Hide value schema
[any key] any - ref string Required
A reference to the request that caused the error. - status integer Required
The HTTP status code
401 Unauthorized
- error object ErrorDetail Required
Pertinent information about the error
Show 3 propertiesHide 3 properties
403 Forbidden
- error object ErrorDetail Required
Pertinent information about the error
Show 3 propertiesHide 3 properties
404 Not Found
- error object ErrorDetail Required
Pertinent information about the error
Show 3 propertiesHide 3 properties
429 Too Many Requests
- error object ErrorDetail Required
Pertinent information about the error
Show 3 propertiesHide 3 properties
500 Internal Server Error
- error object ErrorDetail Required
Pertinent information about the error
Show 3 propertiesHide 3 properties