PUT: Add Access Lists Addresses
New addresses can be added to an access list as needed by entering an optional user friendly name and address.
https://api.hypermint.com/v1/access-list/:accessListId/addresses
Add New Addresses to Access List
The accessListId can be found in the url on the access list page https://app.hypermint.com/access-list/:accessListId
Parameters
Header
Parameter | Description |
---|---|
HM_ACCESS_KEY | HyperMint Access Key |
HM_ACCESS_KEY_SECRET | HyperMint Access Key Secret |
Body
Parameter | Type | Required | Description |
---|---|---|---|
addresses | Array | Y | addresses is an array of wallet addresses to be added to the specified access list. see interface AddAddressesRequest below for more details |
Response
Code | Meaning |
---|---|
🟢 200: OK | Successfully added |
🟠 404: Not Found | Access List does not exist or you don't have permission |
🟠 400: Bad Request | The address array field is required in your request |
🟠 400: Bad Request | You must have at least one address in your request |
🟠 400: Bad Request | The address field is required in all your addresses entries |
{
"success": true
}
Request Interface
interface AddAddressesRequest {
addresses: {
address: string;
name?: string;
}[];
}
Parameter | Type | Required | Description |
---|---|---|---|
address | string | Y | The wallet address of the user you want to add to the access list |
name | string | N | The friendly name of the access list address to be added which can be viewed on the dashboard |
Feedback
Something not quite right, unclear or can't find what you are looking for? Please let us know at support.moonpay.com and we will get back to you as soon as we can.
Updated 10 months ago
Did this page help you?