Update a service account.
Update a service account’s name, description, capability_scopes (org-scoped accounts only), or project_grants (project-scoped accounts only). capability_scopes and project_grants each replace the full set. Status changes go through the status endpoint. Returns 404 if the account is not in the caller’s organization or a project grant references a project not in it, and 409 if the new name is already taken or the account is managed by Fiddler for a model deployment. Returns 400 if the request is invalid, including more than 50 project grants or a project named more than once.
Authorizations
Body
At least one field must be supplied. capability_scopes (org-scoped accounts) and project_grants (project-scoped accounts) each replace the full set, and may be empty to clear it. grant_type cannot be changed, and status changes go through the status endpoint. Unknown fields — including grant_type, principal_type, and status — return a 400.
Replaces the org-scoped account's full set of capability scopes. May be empty; duplicates are collapsed.
A capability scope (not an OAuth scope) an org-scoped service account may hold. models:artifact-read is held only by the service account Fiddler manages for each model deployment and cannot be assigned by users.
traces:ingest, models:artifact-read, guardrails:invoke Response
The updated service account.
Response object for standard API responses.