Grants a role to a user.
1 min
POST
https://usermgmt-api.optimizely.com/api/users/{email}/grantPermission
emailstringThe user email.
includeExternalStatusbooleanInclude external status in the response.
acceptstringGenerated from available response content types
bodyobjectDetails of the permission to grant.
200The updated user response.
400The request was invalid or cannot be otherwise served. An accompanying error message will explain further.
401Unauthorized access to endpoint.
403Forbidden access to endpoint.
404The specified parameters either in the path or body resulted in no resources being found.
500<p>A server error occurred, please try again.</p>
curl --request POST \
--url https://usermgmt-api.optimizely.com/api/users/{email}/grantPermission \
--header 'accept: application/json'