All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
CreatePolicy | Post /policies | |
DeletePolicy | Delete /policies/{id} | |
GetPolicy | Get /policies/{id} | |
ListPolicies | Get /policies | |
UpdatePolicy | Put /policies/{id} |
Policy CreatePolicy($body)
Create an Access Control Policy
Name | Type | Description | Notes |
---|---|---|---|
body | Policy | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeletePolicy($id)
Delete an Access Control Policy
Name | Type | Description | Notes |
---|---|---|---|
id | string | The id of the policy. |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Policy GetPolicy($id)
Get an Access Control Policy
Name | Type | Description | Notes |
---|---|---|---|
id | string | The id of the policy. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Policy ListPolicies($offset, $limit)
List Access Control Policies
Name | Type | Description | Notes |
---|---|---|---|
offset | int64 | The offset from where to start looking. | [optional] |
limit | int64 | The maximum amount of policies returned. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Policy UpdatePolicy($id, $body)
Update an Access Control Policy
Name | Type | Description | Notes |
---|---|---|---|
id | string | The id of the policy. | |
body | Policy | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]