List Running Security Groups For Space
This endpoint returns security groups that are enabled for running globally or at the space level for the given space.
The unique identifier for the resource
OK
{
"pagination": {
"total_results": 0,
"total_pages": 0,
"first": {
"href": "string",
"method": "string"
},
"last": {
"href": "string",
"method": "string"
},
"next": {
"href": "string",
"method": "string"
},
"previous": {
"href": "string",
"method": "string"
}
},
"resources": [
{
"guid": "string",
"created_at": "string",
"updated_at": "string",
"name": "string",
"globally_enabled": {
"running": false,
"staging": false
},
"rules": [
{
"protocol": "string",
"destination": "string",
"ports": "string",
"type": 0,
"code": 0,
"description": "string"
}
],
"running_spaces": {
"data": [
{
"guid": "string"
}
]
},
"staging_spaces": {
"data": [
{
"guid": "string"
}
]
},
"links": {
"self": {
"href": "string",
"method": "string"
},
"running_spaces": {
"href": "string",
"method": "string"
},
"staging_spaces": {
"href": "string",
"method": "string"
}
},
"metadata": {
"labels": {
"labels": "string"
},
"annotations": {
"annotations": "string"
}
}
}
]
}
Pagination is a technique used to divide a large set of results into smaller, more manageable sets. This allows clients to retrieve results in smaller chunks, reducing the amount of data transferred and improving performance. The pagination object is a JSON object that contains information about the pagination state of the results. It includes the total number of results available, the total number of pages available, and links to the first, last, next, and previous pages of results.
resources
Unauthorized
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
errors
Forbidden
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
errors
Not Found
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
errors
curl -H 'Authorization: <value>' https://{api_host}/v3/spaces/{guid}/running_security_groups