agent builder

Update an agent's access control list

Spaces method and path for this operation:

<div><span class="operation-verb put">put</span>&nbsp;<span class="operation-path">/s/{space_id}/api/agent_builder/agents/{id}/access_control</span></div>

Refer to Spaces for more information.

Replace the per-agent access-control entries. Each entry grants one user a role on this agent. Identify the user by their Kibana user profile uid (id). Entries created before profile uids were adopted may use name (deprecated) instead. The agent owner, cluster admins, and anyone access control grants Manager can call this endpoint. Each call replaces the entire entries list — the most recent successful update wins. To learn more about agents, refer to the agents documentation.<br/><br/>[Required authorization] Route required privileges: agentBuilder:manageAgents.

put/api/agent_builder/agents/{id}/access_control

Path parameters

idstring required

The unique identifier of the agent whose access control to update.

Headers

kbn-xsrfstring required
Example:true

A required header to protect against CSRF attacks

Request body

Response

Indicates a successful response

Changes

No changes recorded. 20 of the 176 revisions have no diff computed, so they could not be searched.