Links

Change Responsibility

Changes the responsible person of a document
When you need to change a document owner, you can use this method to set up a new responsible person.
post
https://api.codemash.io/
/{version}/db/{CollectionName}/responsibility
[ChangeResponsibility] - Changes the responsible person of a document

When you need to change a document owner, you can use this method to set up a new responsible person. https://docs.codemash.io/api/database/collections/change-responsibility

Parameters
Path
CollectionName*
string
Collection name - unique, lowercased, collection name without whitespace. E.g., if your collection title you have entered in the CodeMash dashboard is "Business Trips" then collection name would be "business-trips".
version*
string
The CodeMash API version used to fetch data from the API. If not specified, the last version will be used. E.g.: v2
Header
X-CM-Cluster
string
API key of your cluster. Can be passed in a header as X-CM-Cluster.
X-CM-ProjectId*
string
ID of your project. Can be passed in a header as X-CM-ProjectId.
CultureCode
string
Specify culture code when your response from the API should be localised. E.g.: en
Accept*
string
Accept Header
Body
Id*
string
Id of a record to change responsibility for
NewResponsibleUserId*
string
New responsible user for this record
Responses
200: OK
Success
Last modified 11mo ago