Patch a message context
PATCHhttps://platform.docana.com/api/v1/messages/:id/
Requires application-admin access. Session authentication is accepted; when an API key header is present it must have FULL scope. Only the internal message id is accepted. Context is shallow-merged, null removes top-level keys, and context.role synchronizes metadata origin.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The bounded updated context response.
Invalid JSON, patch shape, or context limits.
Authentication failed or API key is invalid.
Caller is not an application administrator or has insufficient API key scope.
Message not found.
Unexpected server error.