cURL
curl --request POST \ --url https://admin.snagsolutions.io/api/website_user_roles \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data ' { "websiteId": "123e4567-e89b-12d3-a456-426614174000" } '
{ "data": "<unknown>" }
Assign roles to users for a specific website
Body
Query parameters for getWebsiteUserRoles
UUID of the website
"123e4567-e89b-12d3-a456-426614174000"
Array of website user roles
Show child attributes
[ { "walletAddress": "0x1234567890abcdef1234567890abcdef12345678", "roleType": "WEBSITE_SUPER_ADMIN" }]
200
Schema for postWebsiteUserRoles response
Was this page helpful?