Skip to navigation

Update assistant access rule

View as Markdown

Changes the fields you send and returns the full updated document.

Send only the fields you want to change, plus version with the num from your last read and a change_description. This is a JSON merge-patch: a field you leave out keeps its stored value, and every list or map you send replaces the stored one whole.

Authentication

AuthorizationBearer

JWT bearer token authentication. Include the Configuration API key in the Authorization header as ‘Bearer <token>’.

Request

This endpoint expects an object.
versionobjectRequired
Document version. On update, send back the num from your last read.
rule_dslstringOptional
DSL rule controlling AI Assistant access. Set to TRUE to enable it for all users, or use a DSL expression to limit access to matching users. Empty means unset. Must be a valid MWDSL expression.

Response

The updated assistant access rule, at its new version
rule_dslstringOptional
DSL rule controlling AI Assistant access. Set to TRUE to enable it for all users, or use a DSL expression to limit access to matching users. Empty means unset.
updated_timedatetimeOptionalRead-only
When the configuration was last updated.
updated_bystringOptionalRead-only
Who last updated the configuration.
versionobjectOptional
Document version. On update, send back the num from your last read.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error