Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/d6236640-bf36-4022-bab9-918a6f3d35ca

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQzOSIsImVtYWlsIjoiZW1haWwtMzExQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTM4MzcyODV9.JITAy-lnPOLM9joAM0pko_2XrZjpwTv3FrZCHBrvKtE
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/d6236640-bf36-4022-bab9-918a6f3d35ca" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQzOSIsImVtYWlsIjoiZW1haWwtMzExQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTM4MzcyODV9.JITAy-lnPOLM9joAM0pko_2XrZjpwTv3FrZCHBrvKtE" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "d6236640-bf36-4022-bab9-918a6f3d35ca",
    "url": "/v2/organizations/d6236640-bf36-4022-bab9-918a6f3d35ca",
    "created_at": "2016-01-19T19:41:25Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2506",
    "billing_enabled": false,
    "quota_definition_guid": "49bb05fd-eaf5-4dfa-a760-d9f40ee6e574",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/49bb05fd-eaf5-4dfa-a760-d9f40ee6e574",
    "spaces_url": "/v2/organizations/d6236640-bf36-4022-bab9-918a6f3d35ca/spaces",
    "domains_url": "/v2/organizations/d6236640-bf36-4022-bab9-918a6f3d35ca/domains",
    "private_domains_url": "/v2/organizations/d6236640-bf36-4022-bab9-918a6f3d35ca/private_domains",
    "users_url": "/v2/organizations/d6236640-bf36-4022-bab9-918a6f3d35ca/users",
    "managers_url": "/v2/organizations/d6236640-bf36-4022-bab9-918a6f3d35ca/managers",
    "billing_managers_url": "/v2/organizations/d6236640-bf36-4022-bab9-918a6f3d35ca/billing_managers",
    "auditors_url": "/v2/organizations/d6236640-bf36-4022-bab9-918a6f3d35ca/auditors",
    "app_events_url": "/v2/organizations/d6236640-bf36-4022-bab9-918a6f3d35ca/app_events",
    "space_quota_definitions_url": "/v2/organizations/d6236640-bf36-4022-bab9-918a6f3d35ca/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 
Content-Length: 1300
X-Content-Type-Options: nosniff