Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/a96abf97-b5f6-482a-8275-6f3c136c016a

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwNCIsImVtYWlsIjoiZW1haWwtMTAzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NTB9.5MT38sqvdyrp26J0mRc82z6EiTXauVFF6OzrYygCiWo
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/a96abf97-b5f6-482a-8275-6f3c136c016a" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwNCIsImVtYWlsIjoiZW1haWwtMTAzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NTB9.5MT38sqvdyrp26J0mRc82z6EiTXauVFF6OzrYygCiWo" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "a96abf97-b5f6-482a-8275-6f3c136c016a",
    "url": "/v2/organizations/a96abf97-b5f6-482a-8275-6f3c136c016a",
    "created_at": "2015-06-16T23:40:50Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-528",
    "billing_enabled": false,
    "quota_definition_guid": "92c487d2-cdc4-491e-92c2-4fa3521eec0e",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/92c487d2-cdc4-491e-92c2-4fa3521eec0e",
    "spaces_url": "/v2/organizations/a96abf97-b5f6-482a-8275-6f3c136c016a/spaces",
    "domains_url": "/v2/organizations/a96abf97-b5f6-482a-8275-6f3c136c016a/domains",
    "private_domains_url": "/v2/organizations/a96abf97-b5f6-482a-8275-6f3c136c016a/private_domains",
    "users_url": "/v2/organizations/a96abf97-b5f6-482a-8275-6f3c136c016a/users",
    "managers_url": "/v2/organizations/a96abf97-b5f6-482a-8275-6f3c136c016a/managers",
    "billing_managers_url": "/v2/organizations/a96abf97-b5f6-482a-8275-6f3c136c016a/billing_managers",
    "auditors_url": "/v2/organizations/a96abf97-b5f6-482a-8275-6f3c136c016a/auditors",
    "app_events_url": "/v2/organizations/a96abf97-b5f6-482a-8275-6f3c136c016a/app_events",
    "space_quota_definitions_url": "/v2/organizations/a96abf97-b5f6-482a-8275-6f3c136c016a/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: f7b82666-15ed-4e40-9794-b9af24eb4009
Content-Length: 1299
X-Content-Type-Options: nosniff