POST
/v1/permission/{permission}/user/{username}Adds the permission to the specified username.
Requires permission ACCESS_MANAGEMENT or ACCESS_MANAGEMENT_UPDATE
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
usernamestringrequired
A valid username
permissionstringrequired
A valid permission
200The updated user
emailstringoptional
permissionsarray<object>optional
teamsarray<object>optional
usernamestringrequired
304The user already has the specified permission assigned
401Unauthorized
404The user could not be found
Error handling
A 401 is returned: Unauthorized. A 404 is returned: The user could not be found.