Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
TheHive-Project/Cortex#194 Fix get-user-details access rules
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Jun 3, 2019
1 parent 48d995c commit e62a464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/api-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ curl -XPATCH -H 'Authorization: Bearer **API_KEY**' -H 'Content-Type: applicatio
It returns a JSON object representing the updated user as described [above](#user-model).

### Get Details
This call returns the user details. It's available to users with `superAdmin` or `orgAdmin` roles. Every user can also use it to read their own details.
This call returns the user details. It's available to users with `superAdmin` roles and to users in the same organization. Every user can also use it to read their own details.

```bash
curl -H 'Authorization: Bearer **API_KEY**' 'https://CORTEX_APP_URL:9001/api/user/USER_LOGIN'
Expand Down

0 comments on commit e62a464

Please sign in to comment.