Access Control
Available API Paths
- /api/projects/{projectId}/brokers/{brokerId}/acldefault
- /api/projects/{projectId}/brokers/{brokerId}/clients
- /api/projects/{projectId}/brokers/{brokerId}/clients/enable
- /api/projects/{projectId}/brokers/{brokerId}/groups
- /api/projects/{projectId}/brokers/{brokerId}/roles
/api/projects/{projectId}/brokers/{brokerId}/acldefault
The following methods are available for this path:
GET
Return default ACL access
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
| projectId | path | string | A project id |
| brokerId | path | string | A broker id |
Responses
| Status | Description | Response Content or Scheme |
| 200 | An object containing a list of default acls. | |
| 401 | Unauthorized request error | |
| 403 | Request is not allowed error | |
| 404 | Resource is not found error | |
| 405 | Method not supported for this resource | |
| 500 | Internal server error | |
PUT
Set default ACL access options
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
| projectId | path | string | A project id |
| brokerId | path | string | A broker id |
Request Body
| Name | Location | Type | Description |
| body | body | array | Properties: |
Responses
| Status | Description | Response Content or Scheme |
| 204 | ||
| 401 | Unauthorized request error | |
| 403 | Request is not allowed error | |
| 404 | Resource is not found error | |
| 405 | Method not supported for this resource | |
| 500 | Internal server error | |
/api/projects/{projectId}/brokers/{brokerId}/clients
The following methods are available for this path:
GET
Get a list of clients currently registered to broker
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
| projectId | path | string | A project id |
| brokerId | path | string | A broker id |
| offset | query | integer | Number of clients to skip. Set to 0 to start at the beginning. |
| count | query | integer | Number of clients which should be returned. Set -1 for all entries. |
Responses
| Status | Description | Response Content or Scheme |
| 200 | A list of known clients. | |
| 401 | Unauthorized request error | |
| 403 | Request is not allowed error | |
| 404 | Resource is not found error | |
| 405 | Method not supported for this resource | |
| 500 | Internal server error | |
POST
Create a new client for specified project broker
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
| projectId | path | string | A project id |
| brokerId | path | string | A broker id |
Request Body
| Name | Location | Type | Description |
| body | body | object | Properties: |
Responses
| Status | Description | Response Content or Scheme |
| 204 | ||
| 401 | Unauthorized request error | |
| 403 | Request is not allowed error | |
| 404 | Resource is not found error | |
| 405 | Method not supported for this resource | |
| 500 | Internal server error | |
PUT
Update an existing broker client
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
| projectId | path | string | A project id |
| brokerId | path | string | A broker id |
Request Body
| Name | Location | Type | Description |
| body | body | object | Properties: |
Responses
| Status | Description | Response Content or Scheme |
| 204 | ||
| 401 | Unauthorized request error | |
| 403 | Request is not allowed error | |
| 404 | Resource is not found error | |
| 405 | Method not supported for this resource | |
| 500 | Internal server error | |
DELETE
Delete specified broker client
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
| projectId | path | string | A project id |
| brokerId | path | string | A broker id |
| username | query | string | Name of the client to delete. URI encoded if necessary |
Responses
| Status | Description | Response Content or Scheme |
| 204 | ||
| 401 | Unauthorized request error | |
| 403 | Request is not allowed error | |
| 404 | Resource is not found error | |
| 405 | Method not supported for this resource | |
| 500 | Internal server error | |
/api/projects/{projectId}/brokers/{brokerId}/clients/enable
The following methods are available for this path:
PUT
Enable or disable specified broker client
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
| projectId | path | string | A project id |
| brokerId | path | string | A broker id |
Request Body
| Name | Location | Type | Description |
| body | body | object | Properties: |
Responses
| Status | Description | Response Content or Scheme |
| 204 | ||
| 401 | Unauthorized request error | |
| 403 | Request is not allowed error | |
| 404 | Resource is not found error | |
| 405 | Method not supported for this resource | |
| 500 | Internal server error | |
/api/projects/{projectId}/brokers/{brokerId}/groups
The following methods are available for this path:
GET
Get a list of groups currently registered to broker
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
| projectId | path | string | A project id |
| brokerId | path | string | A broker id |
| offset | query | integer | Number of groups to skip. Set to 0 to start at the beginning. |
| count | query | integer | Number of groups which should be returned. Set -1 for all entries. |
Responses
| Status | Description | Response Content or Scheme |
| 200 | A list of defined groups | |
| 401 | Unauthorized request error | |
| 403 | Request is not allowed error | |
| 404 | Resource is not found error | |
| 405 | Method not supported for this resource | |
| 500 | Internal server error | |
POST
Create a new group for specified project broker
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
| projectId | path | string | A project id |
| brokerId | path | string | A broker id |
Request Body
| Name | Location | Type | Description |
| body | body | object | Properties: |
Responses
| Status | Description | Response Content or Scheme |
| 204 | ||
| 401 | Unauthorized request error | |
| 403 | Request is not allowed error | |
| 404 | Resource is not found error | |
| 405 | Method not supported for this resource | |
| 500 | Internal server error | |
PUT
Update specified broker group
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
| projectId | path | string | A project id |
| brokerId | path | string | A broker id |
Request Body
| Name | Location | Type | Description |
| body | body | object | Properties: |
Responses
| Status | Description | Response Content or Scheme |
| 204 | ||
| 401 | Unauthorized request error | |
| 403 | Request is not allowed error | |
| 404 | Resource is not found error | |
| 405 | Method not supported for this resource | |
| 500 | Internal server error | |
DELETE
Delete specified broker group
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
| projectId | path | string | A project id |
| brokerId | path | string | A broker id |
| groupname | query | string | A valid group name. URI encoded if necessary. |
Responses
| Status | Description | Response Content or Scheme |
| 204 | ||
| 401 | Unauthorized request error | |
| 403 | Request is not allowed error | |
| 404 | Resource is not found error | |
| 405 | Method not supported for this resource | |
| 500 | Internal server error | |
/api/projects/{projectId}/brokers/{brokerId}/roles
The following methods are available for this path:
GET
Get a list of roles currently registered to broker
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
| projectId | path | string | A project id |
| brokerId | path | string | A broker id |
| offset | query | integer | Number of roles to skip. Set to 0 to start at the beginning. |
| count | query | integer | Number of roles which should be returned. Set -1 for all entries. |
Responses
| Status | Description | Response Content or Scheme |
| 200 | A list of defined roles. | |
| 401 | Unauthorized request error | |
| 403 | Request is not allowed error | |
| 404 | Resource is not found error | |
| 405 | Method not supported for this resource | |
| 500 | Internal server error | |
POST
Create a new role for specified project broker
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
| projectId | path | string | A project id |
| brokerId | path | string | A broker id |
Request Body
| Name | Location | Type | Description |
| body | body | object | Properties: |
Responses
| Status | Description | Response Content or Scheme |
| 204 | ||
| 401 | Unauthorized request error | |
| 403 | Request is not allowed error | |
| 404 | Resource is not found error | |
| 405 | Method not supported for this resource | |
| 500 | Internal server error | |
PUT
Update specified broker role
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
| projectId | path | string | A project id |
| brokerId | path | string | A broker id |
Request Body
| Name | Location | Type | Description |
| body | body | object | Properties: |
Responses
| Status | Description | Response Content or Scheme |
| 204 | ||
| 401 | Unauthorized request error | |
| 403 | Request is not allowed error | |
| 404 | Resource is not found error | |
| 405 | Method not supported for this resource | |
| 500 | Internal server error | |
DELETE
Delete specified broker role
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
| projectId | path | string | A project id |
| brokerId | path | string | A broker id |
| rolename | query | string | A valid role name. URI encoded if necessary. |
Responses
| Status | Description | Response Content or Scheme |
| 204 | ||
| 401 | Unauthorized request error | |
| 403 | Request is not allowed error | |
| 404 | Resource is not found error | |
| 405 | Method not supported for this resource | |
| 500 | Internal server error | |