Edit service-token configuration
Required scopes: token.create.
Serializes with other organization credential changes. Preserves omitted fields and expiry. Resulting scopes must not exceed the current issuer scopes, including when scopes are omitted. Expired credentials can be explicitly renewed under the existing active-token cap. Editing does not issue a secret.
Response headers:
ETag(200): Configuration validator. Excludes volatile last-use metadata, which is available in the token list only. Rotation invalidates this validator.
Authentication
Organization-owned service token. Issue the initial token in organization credential settings. Scopes are documented per operation via x-required-scopes; they are not OAuth scopes.
Path parameters
Headers
Use the latest service-token configuration ETag unchanged. Missing: 428; stale: 412. Wildcards, lists and weak validators are rejected.
Request
At most 128 UTF-8 bytes.
Every scope must be held by the issuer; duplicate entries are normalized.
Future Unix seconds, at most 90 days ahead. Omit to preserve the exact existing expiry; null explicitly selects no expiration.
Response headers
Configuration validator. Excludes volatile last-use metadata, which is available in the token list only. Rotation invalidates this validator.
Response
Unix timestamp in seconds; null means no deadline or no recorded use.
