eventStreamsTokenUpdate
Updates an existing token. Choose this to extend expiry or modify permissions granted to a token.
Description: This Mutation modifies properties of an existing token such as:
- Extending expiration.
- Changing permissions.
- Updating description.
Input:
input:EventStreamsEnvironmentTokenUpdateInput— Token update details including ID and new configuration.
Example:
mutation updateToken{
eventStreamsTokenUpdate(input: {
"id": "token-abc123",
"name": "Updatetoken"
allowConsume: true
allowProduce: false
expirationTime: "2025-05-09T23:59:59-04:00"
description: "api test update"
}){
id
name
data
allowConsume
allowProduce
expirationEditable
expirationTime
createdTime
createdBy
description
}
}
eventStreamsTokenUpdate(
input: EventStreamsEnvironmentTokenUpdateInput
): EventStreamsToken
Arguments
eventStreamsTokenUpdate.input ● EventStreamsEnvironmentTokenUpdateInput input event-streams-admin
Type
EventStreamsToken object event-streams-admin
Represents Event Streams environment token including jwt token, configurable consume/produce permissions, expiration setting and additional full lifecycle management attributes.
Was this topic helpful?