Skip to main content

ServiceAccountWithDefaultAccessToken

A service account returned from createServiceAccount, including the raw default access token.

The defaultAccessToken.token value is the only opportunity to capture the bearer credential for this service account — store it securely before navigating away. If lost, revoke the token and issue a new one with createAccessToken.

type ServiceAccountWithDefaultAccessToken {
id: ID!
name: String!
description: String
createdAt: DateTime!
updatedAt: DateTime!
defaultAccessToken: AccessTokenWithValue!
}

Fields

ServiceAccountWithDefaultAccessToken.id ● ID! non-null scalar {#id}

Unique identifier for this service account.

ServiceAccountWithDefaultAccessToken.name ● String! non-null scalar {#name}

Human-readable name displayed in the UI, logs, and audit trail.

ServiceAccountWithDefaultAccessToken.description ● String scalar {#description}

Optional text explaining what this service account is used for.

ServiceAccountWithDefaultAccessToken.createdAt ● DateTime! non-null scalar {#created-at}

When this service account was created (UTC).

ServiceAccountWithDefaultAccessToken.updatedAt ● DateTime! non-null scalar {#updated-at}

When this service account was last modified (UTC).

ServiceAccountWithDefaultAccessToken.defaultAccessToken ● AccessTokenWithValue! non-null object {#default-access-token}

The default access token issued for this service account. The raw token value is only included in this response — store it securely.

Member Of

ServiceAccountWithDefaultAccessTokenPayload object