Created
November 14, 2021 12:42
-
-
Save baso53/6ec67c09cc2dcbac3cb2bd3b0f9c5575 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --location --request POST 'http://localhost:8080/admin/user-claims/WsD5H21KFKYyCOTIbkOwjXLQRsu1' \ | |
--header 'Content-Type: application/json' \ | |
--data-raw '{ | |
"COMPANY": { | |
"1": [ | |
"READ", | |
"WRITE" | |
], | |
"2": [ | |
"READ" | |
] | |
}, | |
"SUBSIDIARY": { | |
"125": [ | |
"READ" | |
] | |
} | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment