# Cloud Foundry Security Groups API

**Canonical:** https://apis.io/apis/cloud-foundry/cloud-foundry-security-groups-api/  
**Provider:** Cloud Foundry — https://apis.io/providers/cloud-foundry/  
**Base URL:** https://api.{system-domain}  
**Documentation:** https://v3-apidocs.cloudfoundry.org/

Cloud Foundry Security Groups API is one of 49 APIs that [Cloud Foundry](https://apis.io/providers/cloud-foundry/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Security Groups. The published artifact set on APIs.io includes an OpenAPI specification, an API reference, and API documentation.

Security groups are used to control access to apps.

## Operations (9)

| Method | Path | Summary |
|---|---|---|
| GET | `/v3/security_groups` | List security groups |
| POST | `/v3/security_groups` | Create a security group |
| GET | `/v3/security_groups/{guid}` | Get a security group |
| PATCH | `/v3/security_groups/{guid}` | Update a security group |
| DELETE | `/v3/security_groups/{guid}` | Delete a security group |
| POST | `/v3/security_groups/{guid}/relationships/running_spaces` | Bind a running security group to spaces |
| DELETE | `/v3/security_groups/{guid}/relationships/running_spaces/{space_guid}` | Unbind a running security group from a space |
| POST | `/v3/security_groups/{guid}/relationships/staging_spaces` | Bind a staging security group to spaces |
| DELETE | `/v3/security_groups/{guid}/relationships/staging_spaces/{space_guid}` | Unbind a staging security group from a space |

## Machine-readable artifacts (10)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/cloud-foundry/refs/heads/main/openapi/cloud-foundry-security-groups-api-openapi.yml
- **APIReference** — https://v3-apidocs.cloudfoundry.org/
- **Documentation** — https://docs.cloudfoundry.org/
- **Source Code** — https://github.com/cloudfoundry/cloud_controller_ng
- **Specification** — https://github.com/cloudfoundry/cf-openapi
- **Reference** — https://cloudfoundry.github.io/cf-openapi/
- **Documentation** — https://www.openservicebrokerapi.org/
- **Specification** — https://github.com/openservicebrokerapi/servicebroker
- **Documentation** — https://github.com/cloudfoundry/app-autoscaler/blob/main/docs/user_guide.md
- **Source Code** — https://github.com/cloudfoundry/app-autoscaler

## Other Cloud Foundry APIs (12)

- [Cloud Foundry UAA](https://apis.io/apis/cloud-foundry/uaa/)
- [Cloud Foundry Loggregator](https://apis.io/apis/cloud-foundry/loggregator/)
- [BOSH Director API](https://apis.io/apis/cloud-foundry/bosh/)
- [Cloud Foundry Apps API](https://apis.io/apis/cloud-foundry/cloud-foundry-apps-api/)
- [Cloud Foundry Builds API](https://apis.io/apis/cloud-foundry/cloud-foundry-builds-api/)
- [Cloud Foundry Deployments API](https://apis.io/apis/cloud-foundry/cloud-foundry-deployments-api/)
- [Cloud Foundry Jobs API](https://apis.io/apis/cloud-foundry/cloud-foundry-jobs-api/)
- [Cloud Foundry Organizations API](https://apis.io/apis/cloud-foundry/cloud-foundry-organizations-api/)
- [Cloud Foundry Service Instances API](https://apis.io/apis/cloud-foundry/cloud-foundry-service-instances-api/)
- [Cloud Foundry Spaces API](https://apis.io/apis/cloud-foundry/cloud-foundry-spaces-api/)
- [Cloud Foundry Admin API](https://apis.io/apis/cloud-foundry/cloud-foundry-admin-api/)
- [Cloud Foundry App Usage Events API](https://apis.io/apis/cloud-foundry/cloud-foundry-app-usage-events-api/)

## Tags

Security Groups

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/cloud-foundry/cloud-foundry-security-groups-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/cloud-foundry/.
