Update Service Plan Definition
This endpoint updates the plan definition for a specific service plan. The entire definition is replaced with the provided values. After updating the definition, a catalog sync is triggered to ensure the service plan metadata is up to date. This endpoint requires admin privileges.
Note: The created_at and resource_version fields are read-only and managed by the broker.
The unique identifier for the resource
Request body for updating a service plan definition
Show optional properties
{
"definition": {
"plan_id": "string",
"name": "string",
"description": "string"
}
}
{
"definition": {
"plan_id": "custom-plan-id-123",
"name": "my-updated-plan",
"description": "An updated custom service plan",
"properties": {
"cpu": "8",
"memory": "16GB",
"storage": "200GB"
},
"metadata": {
"display_name": "Updated Custom Plan",
"tier": "enterprise"
}
}
}
OK
{
"guid": "string",
"definition": {
"plan_id": "string",
"name": "string",
"description": "string",
"properties": {},
"metadata": {},
"created_at": "string",
"resource_version": "string"
},
"relationships": {
"service_plan": {
"data": {
"guid": "string"
}
}
},
"links": {
"self": {
"href": "string",
"method": "string"
},
"service_plan": {
"href": "string",
"method": "string"
}
}
}
Unique identifier for the service plan
The plan definition configuration. Null if the plan has no definition.
relationships
links
Bad Request
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
errors
Unauthorized
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
errors
Forbidden
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
errors
Not Found
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
errors
Conflict
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
errors
Unprocessable Entity
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
errors
Internal Server Error
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
errors
curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"definition":"object"}'