Edit an agent
Creates a draft or publishes an agent. Use isDraft=true to save a draft, or isDraft=false (or omit) to publish immediately. Only draft and publish modes are supported.
Request
- Base URL: https://instance-name-be.glean.com
- URL: https://instance-name-be.glean.com/rest/api/v1/agents/{agent_id}
- Auth: HTTP bearer
Path parameters
The ID of the agent.
Query parameters
The client's preferred locale in rfc5646 format (e.g. en, ja, pt-BR). If omitted, the Accept-Language will be used. If not present or not supported, defaults to the closest match or en.
The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC.
Headers
Email address of a user on whose behalf the request is intended to be made (should be non-empty only for global tokens).
Auth type being used to access the endpoint (should be non-empty only for global tokens).
Request body
Response
Success
Changes
No recorded changes to this operation across all 139 revisions of this API.