Home
Version 3
Organizations API

Organizations API

Associate Manager with the Organization

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

Request

Route

PUT /v2/organizations/86de7041-f7ad-4fba-ae39-c8524f88e08e/managers/uaa-id-357

Parameters

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

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1OCIsImVtYWlsIjoiZW1haWwtMjYwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjk2NjQxNTF9.1nBEh1J3tkfS3gMfnpfXqIrKv8E-L8XtACemRVuhfgE
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/86de7041-f7ad-4fba-ae39-c8524f88e08e/managers/uaa-id-357" -d '' -X PUT \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1OCIsImVtYWlsIjoiZW1haWwtMjYwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjk2NjQxNTF9.1nBEh1J3tkfS3gMfnpfXqIrKv8E-L8XtACemRVuhfgE" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

201 Created

Body

{
  "metadata": {
    "guid": "86de7041-f7ad-4fba-ae39-c8524f88e08e",
    "url": "/v2/organizations/86de7041-f7ad-4fba-ae39-c8524f88e08e",
    "created_at": "2015-04-15T00:55:50Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2011",
    "billing_enabled": false,
    "quota_definition_guid": "f5a3ee15-463d-4d50-8310-c24c0cc1a0da",
    "status": "active",
    "quota_definition_url": "/v2/quota_definitions/f5a3ee15-463d-4d50-8310-c24c0cc1a0da",
    "spaces_url": "/v2/organizations/86de7041-f7ad-4fba-ae39-c8524f88e08e/spaces",
    "domains_url": "/v2/organizations/86de7041-f7ad-4fba-ae39-c8524f88e08e/domains",
    "private_domains_url": "/v2/organizations/86de7041-f7ad-4fba-ae39-c8524f88e08e/private_domains",
    "users_url": "/v2/organizations/86de7041-f7ad-4fba-ae39-c8524f88e08e/users",
    "managers_url": "/v2/organizations/86de7041-f7ad-4fba-ae39-c8524f88e08e/managers",
    "billing_managers_url": "/v2/organizations/86de7041-f7ad-4fba-ae39-c8524f88e08e/billing_managers",
    "auditors_url": "/v2/organizations/86de7041-f7ad-4fba-ae39-c8524f88e08e/auditors",
    "app_events_url": "/v2/organizations/86de7041-f7ad-4fba-ae39-c8524f88e08e/app_events",
    "space_quota_definitions_url": "/v2/organizations/86de7041-f7ad-4fba-ae39-c8524f88e08e/space_quota_definitions"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 92398d89-3208-48e5-984e-876b90f76365
Content-Length: 1300
X-Content-Type-Options: nosniff