Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/c471e894-6189-43d3-83b9-47be5cc4a9fa

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3NyIsImVtYWlsIjoiZW1haWwtMTU2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzIzMTM2MTV9.otJ8u0NkkCK7w7etHn5hGpR645D-Y7uh4UIOZkS5_5w
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/c471e894-6189-43d3-83b9-47be5cc4a9fa" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3NyIsImVtYWlsIjoiZW1haWwtMTU2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzIzMTM2MTV9.otJ8u0NkkCK7w7etHn5hGpR645D-Y7uh4UIOZkS5_5w" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "c471e894-6189-43d3-83b9-47be5cc4a9fa",
    "url": "/v2/organizations/c471e894-6189-43d3-83b9-47be5cc4a9fa",
    "created_at": "2015-05-15T16:53:35Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-806",
    "billing_enabled": false,
    "quota_definition_guid": "97d465ce-a5cd-4aa7-a875-7dba020c5776",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/97d465ce-a5cd-4aa7-a875-7dba020c5776",
    "spaces_url": "/v2/organizations/c471e894-6189-43d3-83b9-47be5cc4a9fa/spaces",
    "domains_url": "/v2/organizations/c471e894-6189-43d3-83b9-47be5cc4a9fa/domains",
    "private_domains_url": "/v2/organizations/c471e894-6189-43d3-83b9-47be5cc4a9fa/private_domains",
    "users_url": "/v2/organizations/c471e894-6189-43d3-83b9-47be5cc4a9fa/users",
    "managers_url": "/v2/organizations/c471e894-6189-43d3-83b9-47be5cc4a9fa/managers",
    "billing_managers_url": "/v2/organizations/c471e894-6189-43d3-83b9-47be5cc4a9fa/billing_managers",
    "auditors_url": "/v2/organizations/c471e894-6189-43d3-83b9-47be5cc4a9fa/auditors",
    "app_events_url": "/v2/organizations/c471e894-6189-43d3-83b9-47be5cc4a9fa/app_events",
    "space_quota_definitions_url": "/v2/organizations/c471e894-6189-43d3-83b9-47be5cc4a9fa/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: bba46176-d4d9-4ae2-a160-4b365f7877c6
Content-Length: 1299
X-Content-Type-Options: nosniff