Add permission to role
1 min
POST
https://api.upstartcommerce.com/profile-permissions/roles/{roleId}/permissions/{permissionName}
roleIdstringRole identifier
permissionNamestringPermission name
acceptstringGenerated from available response content types
200<p>Permission added to role (or already present)</p>
401Missing or invalid authentication token
404Role or permission not found
500Internal server error
curl --request POST \
--url https://api.upstartcommerce.com/profile-permissions/roles/{roleId}/permissions/{permissionName} \
--header 'accept: application/json'