/service-accounts/{id}/resource-grantsWrite operationReplace the complete service account resource grant set
Atomically replaces the complete grant policy. Partial and stale publications fail closed.
resource-grants:writeservice-accounts:writePrepare this request
The builder does not execute requests or persist credentials. Replace the environment-variable placeholder only in your terminal or secret-aware runtime.
Headers
1If-MatchrequiredExactly one latest strong service-account grant-policy ETag.
Request body
application/jsonThe grants associated with this service account resource grant set replace.
anchorIdThe anchor id associated with this resource grant.
anchorTyperequiredCanonical anchor type value for this resource grant.
workspaceprojectmemberGroupcontactGroupuserownRecordscapabilitiesrequiredThe capabilities associated with this resource grant.
expiresAtTimestamp after which this capability or record is no longer valid.
inheritancerequiredCanonical inheritance value for this resource grant.
domainDescendantsnoneresourceKeyrequiredThe resource key associated with this resource grant.
Responses
9200The complete replacement policy was published atomically.application/json
application/jsonPublic API representation of service account resource grant set.
The attributes associated with this service account resource grant set.
The grants associated with this service account resource grant set attributes.
anchorIdrequiredThe anchor id associated with this resource grant.
anchorTyperequiredCanonical anchor type value for this resource grant.
workspaceprojectmemberGroupcontactGroupuserownRecordscapabilitiesrequiredThe capabilities associated with this resource grant.
expiresAtrequiredTimestamp after which this capability or record is no longer valid.
idrequiredStable TeamGrid identifier for this resource.
inheritancerequiredCanonical inheritance value for this resource grant.
domainDescendantsnoneresourceKeyrequiredThe resource key associated with this resource grant.
policyVersionrequiredThe policy version associated with this service account resource grant set attributes.
revisionrequiredStrong resource revision used for optimistic concurrency control.
idrequiredStable TeamGrid identifier for this resource.
typerequiredCanonical type discriminator for this resource.
Public API representation of meta.
requestIdrequiredUnique identifier assigned to the API request for tracing and support.
400The request is invalid.application/json
application/jsonThe errors associated with this error.
coderequiredStable machine-readable code for programmatic error or state handling.
detailrequiredThe detail associated with this api error.
sourceThe source associated with this api error.
statusrequiredCanonical status of the resource or operation.
titlerequiredHuman-readable title of the resource.
Request metadata, including the request identifier and pagination state when applicable.
requestIdrequiredUnique identifier assigned to the API request for tracing and support.
401The bearer credential is missing, invalid, expired, or revoked.application/json
application/jsonThe errors associated with this error.
coderequiredStable machine-readable code for programmatic error or state handling.
detailrequiredThe detail associated with this api error.
sourceThe source associated with this api error.
statusrequiredCanonical status of the resource or operation.
titlerequiredHuman-readable title of the resource.
Request metadata, including the request identifier and pagination state when applicable.
requestIdrequiredUnique identifier assigned to the API request for tracing and support.
403The credential has insufficient scope.application/json
application/jsonThe errors associated with this error.
coderequiredStable machine-readable code for programmatic error or state handling.
detailrequiredThe detail associated with this api error.
sourceThe source associated with this api error.
statusrequiredCanonical status of the resource or operation.
titlerequiredHuman-readable title of the resource.
Request metadata, including the request identifier and pagination state when applicable.
requestIdrequiredUnique identifier assigned to the API request for tracing and support.
412The resource changed since the supplied revision.application/json
application/jsonThe errors associated with this error.
coderequiredStable machine-readable code for programmatic error or state handling.
detailrequiredThe detail associated with this api error.
sourceThe source associated with this api error.
statusrequiredCanonical status of the resource or operation.
titlerequiredHuman-readable title of the resource.
Request metadata, including the request identifier and pagination state when applicable.
requestIdrequiredUnique identifier assigned to the API request for tracing and support.
428A strong If-Match revision is required.application/json
application/jsonThe errors associated with this error.
coderequiredStable machine-readable code for programmatic error or state handling.
detailrequiredThe detail associated with this api error.
sourceThe source associated with this api error.
statusrequiredCanonical status of the resource or operation.
titlerequiredHuman-readable title of the resource.
Request metadata, including the request identifier and pagination state when applicable.
requestIdrequiredUnique identifier assigned to the API request for tracing and support.
429The credential or source exceeded its rate limit.application/json
application/jsonThe errors associated with this error.
coderequiredStable machine-readable code for programmatic error or state handling.
detailrequiredThe detail associated with this api error.
sourceThe source associated with this api error.
statusrequiredCanonical status of the resource or operation.
titlerequiredHuman-readable title of the resource.
Request metadata, including the request identifier and pagination state when applicable.
requestIdrequiredUnique identifier assigned to the API request for tracing and support.
502The cell-local application returned an invalid response.application/json
application/jsonThe errors associated with this error.
coderequiredStable machine-readable code for programmatic error or state handling.
detailrequiredThe detail associated with this api error.
sourceThe source associated with this api error.
statusrequiredCanonical status of the resource or operation.
titlerequiredHuman-readable title of the resource.
Request metadata, including the request identifier and pagination state when applicable.
requestIdrequiredUnique identifier assigned to the API request for tracing and support.
503A required cell-local dependency is unavailable.application/json
application/jsonThe errors associated with this error.
coderequiredStable machine-readable code for programmatic error or state handling.
detailrequiredThe detail associated with this api error.
sourceThe source associated with this api error.
statusrequiredCanonical status of the resource or operation.
titlerequiredHuman-readable title of the resource.
Request metadata, including the request identifier and pagination state when applicable.
requestIdrequiredUnique identifier assigned to the API request for tracing and support.
Thank you. The rating contains no account or customer data.