Update a Service Broker
PUT /v2/service_brokers/:guid
Request
Route
PUT /v2/service_brokers/f486ac53-5cc1-4ee3-9602-e9b0409adf12
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Service Broker
|
|
|
Body
Name |
Description |
Default |
Valid Values |
Example Values |
name
|
The name of the service broker.
|
|
|
|
broker_url
|
The URL of the service broker.
|
|
|
- https://broker.example.com
|
auth_username
|
The username with which to authenticate against the service broker.
|
|
|
|
auth_password
|
The password with which to authenticate against the service broker.
|
|
|
|
{
"auth_username": "admin-user",
"auth_password": "some-secret",
"broker_url": "https://mybroker.example.com"
}
Headers
cURL
curl "https://api.[your-domain.com]/v2/service_brokers/f486ac53-5cc1-4ee3-9602-e9b0409adf12" -d '{
"auth_username": "admin-user",
"auth_password": "some-secret",
"broker_url": "https://mybroker.example.com"
}' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyNSIsImVtYWlsIjoiZW1haWwtMTU3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjc0ODA4NTV9.3uZh-DvmitSh1KZ1-u3N9xN2Vr_xN7lo24YfCC8XRIA" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "f486ac53-5cc1-4ee3-9602-e9b0409adf12",
"created_at": "2015-03-20T18:27:35Z",
"updated_at": "2015-03-20T18:27:35Z",
"url": "/v2/service_brokers/f486ac53-5cc1-4ee3-9602-e9b0409adf12"
},
"entity": {
"name": "name-1359",
"broker_url": "https://mybroker.example.com",
"auth_username": "admin-user"
}
}
Headers