Path: / security / authentication / user / {username} / grant

grant a user

Path parameters:
username -

Resource Methods
Method Summary
NameDescription
PUT /security/authentication/user/{username}/grantgrant a user
DELETE /security/authentication/user/{username}/grantdeny a user

Method Detail

PUT /security/authentication/user/{username}/grant

grant a user

HTTP Example:
PUT /security/authentication/user/{username}/grant
Output:
TreqsUser - the modified user
Produces:
application/json
Consumes:
text/plain
HTTP return codes:
200 - if no error occurred
404 - if no user exists with this username

DELETE /security/authentication/user/{username}/grant

deny a user

HTTP Example:
DELETE /security/authentication/user/{username}/grant
Output:
TreqsUser - the modified user
Produces:
application/json
Consumes:
text/plain
HTTP return codes:
200 - if no error occurred
403 - if the user you want to deny is yourself
404 - if no user exists with this username