Access Service API
Terminology
Utility Endpoints
In addition to the API, the following utility endpoints are available:
-
/health - Health-check page.
-
/health/fault - Purposefully generate a fault page (for diagnostics).
-
Home - Page showing the API name.
Security Groups ¶
Security Groups ¶
Headers
Content-Type: application/vnd.api+json
Authorization: [MyAuthToken][]
Body
{
"data": {
"type": "security_groups",
"attributes": {
"label": "string",
"ranges": [
{
"label": "string",
"cidr": "0.0.0.0/32"
},
{
"label": "string",
"cidr": "0.0.0.0/32"
}
]
}
}
}
Headers
Content-Type: application/vnd.api+json
Headers
Content-Type: application/json
Body
{
"status": 400,
"errorMessage": "Fault"
}
Headers
Content-Type: application/json
Body
{
"status": 401,
"errorMessage": "Not allowed: Authentication failed.",
"developerMessage": "auth_violation"
}
Headers
Content-Type: application/json
Body
{
"status": 403,
"errorMessage": "Not allowed: Forbidden, no permission to access.",
"developerMessage": "auth_violation"
}
Headers
Content-Type: application/json
Body
{
"status": 500,
"errorMessage": "An error message"
}
Create a Security GroupPOST/security_groups
Create a security group.
Requires permission ACCESS:FUNCTIONAL:SECURITYGROUP:CREATE
Security Groups ¶
Headers
Content-Type: application/vnd.api+json
Authorization: [MyAuthToken][]
Body
{
"data": {
"type": "security_groups",
"id": "00000000-0000-0000-0000-000000000000",
"attributes": {
"label": "string",
"ranges": [
{
"label": "string",
"cidr": "0.0.0.0/32"
},
{
"label": "string",
"cidr": "0.0.0.0/32"
}
]
}
}
}
Headers
Content-Type: application/vnd.api+json
Headers
Content-Type: application/json
Body
{
"status": 400,
"errorMessage": "Fault"
}
Headers
Content-Type: application/json
Body
{
"status": 401,
"errorMessage": "Not allowed: Authentication failed.",
"developerMessage": "auth_violation"
}
Headers
Content-Type: application/json
Body
{
"status": 403,
"errorMessage": "Not allowed: Forbidden, no permission to access.",
"developerMessage": "auth_violation"
}
Headers
Content-Type: application/json
Body
{
"status": 404,
"errorMessage": "Not found.",
"developerMessage": "Not found."
}
Headers
Content-Type: application/json
Body
{
"status": 500,
"errorMessage": "An error message"
}
Update a Security GroupPUT/security_groups
Update a security group.
Requires permission ACCESS:FUNCTIONAL:SECURITYGROUP:EDIT
Security Groups ¶
Headers
Content-Type: application/vnd.api+json
Headers
Content-Type: application/json
Body
{
"status": 400,
"errorMessage": "Fault"
}
Headers
Content-Type: application/json
Body
{
"status": 401,
"errorMessage": "Not allowed: Authentication failed.",
"developerMessage": "auth_violation"
}
Headers
Content-Type: application/json
Body
{
"status": 403,
"errorMessage": "Not allowed: Forbidden, no permission to access.",
"developerMessage": "auth_violation"
}
Headers
Content-Type: application/json
Body
{
"status": 404,
"errorMessage": "Not found.",
"developerMessage": "Not found."
}
Headers
Content-Type: application/json
Body
{
"status": 500,
"errorMessage": "An error message"
}
Get a Security GroupGET/security_groups/{id}
Get a security group by id.
Requires permission ACCESS:FUNCTIONAL:SECURITYGROUP:READ
- id
string
(required) Example: uuidsecurity group id
Security Groups ¶
Headers
Content-Type: application/vnd.api+json
Headers
Content-Type: application/json
Body
{
"status": 400,
"errorMessage": "Fault"
}
Headers
Content-Type: application/json
Body
{
"status": 401,
"errorMessage": "Not allowed: Authentication failed.",
"developerMessage": "auth_violation"
}
Headers
Content-Type: application/json
Body
{
"status": 403,
"errorMessage": "Not allowed: Forbidden, no permission to access.",
"developerMessage": "auth_violation"
}
Headers
Content-Type: application/json
Body
{
"status": 404,
"errorMessage": "Not found.",
"developerMessage": "Not found."
}
Headers
Content-Type: application/json
Body
{
"status": 500,
"errorMessage": "An error message"
}
Get all Security GroupsGET/security_groups
Get all security groups.
Requires permission ACCESS:FUNCTIONAL:SECURITYGROUP:READ
Security Groups ¶
Headers
Content-Type: application/vnd.api+json
Headers
Content-Type: application/json
Body
{
"status": 400,
"errorMessage": "Fault"
}
Headers
Content-Type: application/json
Body
{
"status": 401,
"errorMessage": "Not allowed: Forbidden, no permission to access.",
"developerMessage": "auth_violation"
}
Headers
Content-Type: application/json
Body
{
"status": 403,
"errorMessage": "Not allowed: Forbidden.",
"developerMessage": "auth_violation"
}
Headers
Content-Type: application/json
Body
{
"status": 404,
"errorMessage": "Not found.",
"developerMessage": "Not found."
}
Headers
Content-Type: application/json
Body
{
"status": 500,
"errorMessage": "An error message"
}
Get a Security GroupDELETE/security_groups/{id}
Delete a security group by id.
Requires permission ACCESS:FUNCTIONAL:SECURITYGROUP:DELETE
- id
string
(required) Example: uuidsecurity group id
Security Group Relationships ¶
Security Groups Relationships ¶
Headers
Content-Type: application/vnd.api+json
Headers
Content-Type: application/json
Body
{
"status": 400,
"errorMessage": "Fault"
}
Headers
Content-Type: application/json
Body
{
"status": 401,
"errorMessage": "Not allowed: Authentication failed.",
"developerMessage": "auth_violation"
}
Headers
Content-Type: application/json
Body
{
"status": 403,
"errorMessage": "Not allowed: Forbidden, no permission to access.",
"developerMessage": "auth_violation"
}
Headers
Content-Type: application/json
Body
{
"status": 404,
"errorMessage": "Not found.",
"developerMessage": "Not found."
}
Headers
Content-Type: application/json
Body
{
"status": 500,
"errorMessage": "An error message"
}
Get a Security Group RelationshipGET/security_groups/{group}/services/{service}
Get a security group relationship.
Requires permission ACCESS:FUNCTIONAL:SECURITYGROUPRELATIONSHIP:READ
- group
string
(required) Example: uuidsecurity group id
- service
string
(required) Example: uuidservice id
Security Groups Relationships ¶
Headers
Content-Type: application/vnd.api+json
Headers
Content-Type: application/json
Body
+ Body
{
"status": 400,
"errorMessage": "Fault"
}
Headers
Content-Type: application/json
Body
{
"status": 401,
"errorMessage": "Not allowed: Authentication failed.",
"developerMessage": "auth_violation"
}
Headers
Content-Type: application/json
Body
{
"status": 403,
"errorMessage": "Not allowed: Forbidden, no permission to access.",
"developerMessage": "auth_violation"
}
Headers
Content-Type: application/json
Body
{
"status": 404,
"errorMessage": "Not found.",
"developerMessage": "Not found."
}
Headers
Content-Type: application/json
Body
{
"status": 500,
"errorMessage": "An error message"
}
Get Security Group RelationshipsGET/security_groups/{group}/services
Get all relationships for a Security Group.
Requires permission ACCESS:FUNCTIONAL:SECURITYGROUPRELATIONSHIP:READ
- group
string
(required) Example: uuidsecurity group id
Security Groups Relationships ¶
Headers
Content-Type: application/vnd.api+json
Headers
Content-Type: application/json
Body
{
"status": 400,
"errorMessage": "Fault"
}
Headers
Content-Type: application/json
Body
{
"status": 401,
"errorMessage": "Not allowed: Authentication failed.",
"developerMessage": "auth_violation"
}
Headers
Content-Type: application/json
Body
{
"status": 403,
"errorMessage": "Not allowed: Forbidden, no permission to access.",
"developerMessage": "auth_violation"
}
Headers
Content-Type: application/json
Body
{
"status": 404,
"errorMessage": "Not found.",
"developerMessage": "Not found."
}
Headers
Content-Type: application/json
Body
{
"status": 500,
"errorMessage": "An error message"
}
Create a Security Group RelationshipPOST/security_groups/{group}/services/{service}
Create a security group relationship.
Requires permission ACCESS:FUNCTIONAL:SECURITYGROUPRELATIONSHIP:CREATE
- group
string
(required) Example: uuidsecurity group id
- service
string
(required) Example: uuidservice id
Security Groups Relationships ¶
Headers
Content-Type: application/vnd.api+json
Headers
Content-Type: application/json
Body
{
"status": 400,
"errorMessage": "Fault"
}
Headers
Content-Type: application/json
Body
{
"status": 401,
"errorMessage": "Not allowed: Authentication failed.",
"developerMessage": "auth_violation"
}
Headers
Content-Type: application/json
Body
{
"status": 403,
"errorMessage": "Not allowed: Forbidden, no permission to access.",
"developerMessage": "auth_violation"
}
Headers
Content-Type: application/json
Body
{
"status": 404,
"errorMessage": "Not found.",
"developerMessage": "Not found."
}
Headers
Content-Type: application/json
Body
{
"status": 500,
"errorMessage": "An error message"
}
Delete a Security Group RelationshipDELETE/security_groups/{group}/services/{service}
Delete a security group relationship.
Requires permission ACCESS:FUNCTIONAL:SECURITYGROUPRELATIONSHIP:DELETE
- group
string
(required) Example: uuidsecurity group id
- service
string
(required) Example: uuidservice id
Generated on 17 Nov 2016