Member Agents
Update an agent
Changed onUpdate one registered agent identified by its url. The url field itself cannot be changed via PATCH — supplying a url in the body that differs from the path returns 400 url_immutable; re-register at the new URL and DELETE the old entry to migrate. All other fields accept partial updates.
patch/api/me/agents/{url}
Request
- Base URLhttps://agenticadvertising.org
- URLhttps://agenticadvertising.org/api/me/agents/{url}
- Auth
- HTTP bearer
- or OAuth 2Authorization code: https://agenticadvertising.org/authorizeToken URL: https://agenticadvertising.org/token
Path parameters
urlstring required
The agent's url, URL-encoded (e.g. https%3A%2F%2Fagent.example.com%2Fmcp).
Query parameters
orgstring
WorkOS organization id to act on. Human sessions and user JWTs must select it explicitly. WorkOS API keys may omit it because their validated credential already carries an exact organization scope; when supplied with an API key it must match that scope.
Example:org_01HXZAB123
Request body
Response
Agent updated.
Example response
{
"agent": {
"url": "https://agent.example.com/mcp"
}
}Changes
- warning
removed the optional property
from the response with the status
- warning