@Generated public interface TokensService
This is the high-level interface, that contains generated methods.
Evolving: this interface is under development. Method signatures may change.
| Modifier and Type | Method and Description |
|---|---|
CreateTokenResponse |
create(CreateTokenRequest createTokenRequest)
Creates and returns a token for a user.
|
void |
delete(RevokeTokenRequest revokeTokenRequest)
Revokes an access token.
|
ListPublicTokensResponse |
list()
Lists all the valid tokens for a user-workspace pair.
|
CreateTokenResponse create(CreateTokenRequest createTokenRequest)
void delete(RevokeTokenRequest revokeTokenRequest)
If a token with the specified ID is not valid, this call returns an error **RESOURCE_DOES_NOT_EXIST**.
ListPublicTokensResponse list()
Copyright © 2026. All rights reserved.