Tags:
- Admin GraphQL API
- 2026-04
delegateAccessTokenCreate mutation now returns expiresIn
delegateAccessTokenCreate mutation now returns expiresInWe have introduced an field to the type, which is returned by the mutation. This addition allows app developers using delegate tokens to know precisely when their tokens will expire. The field provides the number of seconds remaining until the token expires, aligning with the data available through the REST Admin API's delegate endpoint.
This feature is particularly beneficial when the input is not specified, causing the delegate token to inherit the parent token's Time to Live (TTL). Previously, developers had no means to ascertain the expiration time of such tokens.
This update is available in GraphQL Admin API version 2026-04 and later.
Was this section helpful?