Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Endpoints and methods | Description | ||||||
---|---|---|---|---|---|---|---|
/v2/accounts/{accountName}/tokens see below | Get a list of all the tokens for the provided account. | ||||||
/v2/accounts/{accountName}/tokens /{tokenId} see below | Returns all the information of a single token, including the actual token. | ||||||
/v2/accounts/{accountName}/tokens see below | Create a new token. | ||||||
/v2/accounts/{accountName}/tokens/{tokenId}/enable see below | Enable a token. | ||||||
/v2/accounts/{accountName}/tokens/{tokenId}/disable see below | Disable a token. | ||||||
/v2/accounts/{accountName}/tokens/{tokenId}/rename see below | Change the name associated with a token. | ||||||
/v2/accounts/{accountName}/tokens/{tokenId} see below | Delete a token. |
Endpoints and methods
Anchor | ||||
---|---|---|---|---|
|
/v2/accounts/{accountName}/tokens
...
Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Path parametersAdd the following path parameters as part of the endpoint:
Find below a request example:
|
Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
...
Anchor | ||||
---|---|---|---|---|
|
/v2/accounts/{accountName}/tokens/{tokenId}
...
Expand | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
Path parametersAdd the following path parameters as part of the endpoint:
Find below a request example:
|
Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
...
Anchor | ||||
---|---|---|---|---|
|
/v2/accounts/{accountName}/tokens
...
Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
Path parametersAdd the following path parameters as part of the endpoint:
Payload:
Find below a request example:
|
...
Info |
---|
Creating a token returns the |
...
Anchor | ||||
---|---|---|---|---|
|
/v2/accounts/{accountName}/tokens/{tokenId}/enable
...
Expand | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
Path parametersAdd the following path parameters as part of the endpoint:
Find below a request example:
|
Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|
...
Anchor | ||||
---|---|---|---|---|
|
/v2/accounts/{accountName}/tokens/{tokenId}/disable
...
Expand | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
Path parametersAdd the following path parameters as part of the endpoint:
Find below a request example:
|
Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|
...
Anchor | ||||
---|---|---|---|---|
|
/v2/accounts/{accountName}/tokens/{tokenId}/rename
...
Expand | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||
Path parametersAdd the following path parameters as part of the endpoint:
Payload:
If the new name is empty or null, the service will still return OK, but the token name will remain unchanged. Find below a request example:
|
Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|
...
Anchor | ||||
---|---|---|---|---|
|
/v2/accounts/{accountName}/tokens/{tokenId}
...
Expand | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
Path parametersAdd the following path parameters as part of the endpoint:
Find below a request example:
|
...