Skip to navigation

Update whitelisted contracts

This endpoint updates a whitelisted contract. The fields that can be edited are [symbol, name, decimals]. ALGO whitelisted contracts are not editable as they are populated with on-chain data at creation. Required role: WhitelistedAddressCreator.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequiredformat: "uint64"
ID of the Whitelisted Contract to update.

Request

This endpoint expects an object.
symbolstringRequired
Symbol of the token.
namestringRequired
Name of the token.
decimalsstringRequiredformat: "uint64"
Number of decimal places to consider as minimum unit of transfer

Response

A successful response.
resultobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error