Home
Version 3
Organizations API

Organizations API

Retrieve a Particular Organization

GET /v2/organizations/:guid

Request

Route

GET /v2/organizations/49b20709-d851-47f2-94b9-175415aedf8f

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ2MyIsImVtYWlsIjoiZW1haWwtMzMwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NzN9.JuxFe2LVT24EsZyvKjFkVchwe60gZfHhcXSI78dyUXU
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/49b20709-d851-47f2-94b9-175415aedf8f" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ2MyIsImVtYWlsIjoiZW1haWwtMzMwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NzN9.JuxFe2LVT24EsZyvKjFkVchwe60gZfHhcXSI78dyUXU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "49b20709-d851-47f2-94b9-175415aedf8f",
    "url": "/v2/organizations/49b20709-d851-47f2-94b9-175415aedf8f",
    "created_at": "2015-10-15T23:52:53Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2485",
    "billing_enabled": false,
    "quota_definition_guid": "d855b3fd-e538-47b1-9e42-cd89fdd37e9c",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/d855b3fd-e538-47b1-9e42-cd89fdd37e9c",
    "spaces_url": "/v2/organizations/49b20709-d851-47f2-94b9-175415aedf8f/spaces",
    "domains_url": "/v2/organizations/49b20709-d851-47f2-94b9-175415aedf8f/domains",
    "private_domains_url": "/v2/organizations/49b20709-d851-47f2-94b9-175415aedf8f/private_domains",
    "users_url": "/v2/organizations/49b20709-d851-47f2-94b9-175415aedf8f/users",
    "managers_url": "/v2/organizations/49b20709-d851-47f2-94b9-175415aedf8f/managers",
    "billing_managers_url": "/v2/organizations/49b20709-d851-47f2-94b9-175415aedf8f/billing_managers",
    "auditors_url": "/v2/organizations/49b20709-d851-47f2-94b9-175415aedf8f/auditors",
    "app_events_url": "/v2/organizations/49b20709-d851-47f2-94b9-175415aedf8f/app_events",
    "space_quota_definitions_url": "/v2/organizations/49b20709-d851-47f2-94b9-175415aedf8f/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: a053cc9b-8e4d-48a2-8a7a-c55c4fd3c55f
Content-Length: 1300
X-Content-Type-Options: nosniff