Home
Version 3
Organizations API

Organizations API

Associate Manager with the Organization

PUT /v2/organizations/:guid/managers/:manager_guid

Fields

Name Description Default Valid Values Example Values

Parameters

Name Description Valid Values Example Values
guid The guid of the Organization

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyNyIsImVtYWlsIjoiZW1haWwtMTA0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTc0NjIzNTh9.boAwzLzfRRvhxQdEFmseHiWHohlKZqI4Cic5_A3h8oc
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

PUT /v2/organizations/896d1eaf-c3d6-4977-86ac-87571ff2f25f/managers/uaa-id-126

cURL

curl "https://api.[your-domain.com]/v2/organizations/896d1eaf-c3d6-4977-86ac-87571ff2f25f/managers/uaa-id-126" -d '' -X PUT \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyNyIsImVtYWlsIjoiZW1haWwtMTA0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTc0NjIzNTh9.boAwzLzfRRvhxQdEFmseHiWHohlKZqI4Cic5_A3h8oc" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: d2d272e6-9a68-4624-b61c-bad188d23882
Content-Length: 1304
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "896d1eaf-c3d6-4977-86ac-87571ff2f25f",
    "url": "/v2/organizations/896d1eaf-c3d6-4977-86ac-87571ff2f25f",
    "created_at": "2014-11-24T19:32:38+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-527",
    "billing_enabled": false,
    "quota_definition_guid": "7553d945-498b-4000-9873-65e2da3b974e",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/7553d945-498b-4000-9873-65e2da3b974e",
    "spaces_url": "/v2/organizations/896d1eaf-c3d6-4977-86ac-87571ff2f25f/spaces",
    "domains_url": "/v2/organizations/896d1eaf-c3d6-4977-86ac-87571ff2f25f/domains",
    "private_domains_url": "/v2/organizations/896d1eaf-c3d6-4977-86ac-87571ff2f25f/private_domains",
    "users_url": "/v2/organizations/896d1eaf-c3d6-4977-86ac-87571ff2f25f/users",
    "managers_url": "/v2/organizations/896d1eaf-c3d6-4977-86ac-87571ff2f25f/managers",
    "billing_managers_url": "/v2/organizations/896d1eaf-c3d6-4977-86ac-87571ff2f25f/billing_managers",
    "auditors_url": "/v2/organizations/896d1eaf-c3d6-4977-86ac-87571ff2f25f/auditors",
    "app_events_url": "/v2/organizations/896d1eaf-c3d6-4977-86ac-87571ff2f25f/app_events",
    "space_quota_definitions_url": "/v2/organizations/896d1eaf-c3d6-4977-86ac-87571ff2f25f/space_quota_definitions"
  }
}