https://console.iugu.com/verify
Verify principal authorizations
Checks whether the given principals can perform the requested actions in a workspace. Returns a map of each action to its authorization result and can enforce IP allow lists and client certificate thumbprints per principal.
Sem ações implementadas definidas
Request
|
Body Required Content Type: application/json |
||||||
|---|---|---|---|---|---|---|
|
||||||
1
2
3
4
5
{
"workspace_id": "abcd1234efgh5678ijkl",
"principals": "<PRINCIPALS>",
"actions": "<ACTIONS>"
}
Response
|
200 |
|
|---|---|
|
Map of action to authorization result. |
|
1
2
3
4
{
"app:namespace.action1": true,
"app:namespace.action2": false
}
|
400 |
||
|---|---|---|
|
Bad Request
|
||
1
2
3
{
"error_description": "Param workspace_id is required"
}
|
401 |
||
|---|---|---|
|
Unauthorized
|
||
1
2
3
{
"error_description": "Param workspace_id is required"
}