Delete Unmapped Routes For Space

Delete Unmapped Routes For Space
Delete unmapped routes for a space

Deletes all routes in a space that are not mapped to any applications and not bound to any service instances.

Request
URI
DELETE
https://api.example.local/v3/spaces/{guid}/routes
COPY
Path Parameters
string
guid
Required

The unique identifier for the resource

Query Parameters
boolean
unmapped
Required

Filter to only delete unmapped routes

Possible values are : true,

Authentication
This operation uses the following authentication methods.
Responses
202

Accepted

Operation doesn't return any data structure

Response Headers

string
Location

URL of the job that is deleting unmapped routes


401

Unauthorized

Returns Unauthorized of type(s) application/json
{
    "errors": [
        {
            "code": 0,
            "detail": "string",
            "title": "string"
        }
    ]
}
array of object
errors
Optional

errors


403

Forbidden

Returns Forbidden of type(s) application/json
{
    "errors": [
        {
            "code": 0,
            "detail": "string",
            "title": "string"
        }
    ]
}
array of object
errors
Optional

errors


404

Not Found

Returns NotFound of type(s) application/json
{
    "errors": [
        {
            "code": 0,
            "detail": "string",
            "title": "string"
        }
    ]
}
array of object
errors
Optional

errors


422

Unprocessable Entity

Returns UnprocessableEntity of type(s) application/json
{
    "errors": [
        {
            "code": 0,
            "detail": "string",
            "title": "string"
        }
    ]
}
array of object
errors
Optional

errors


Code Samples
COPY
                    curl -X DELETE -H 'Authorization: <value>' https://{api_host}/v3/spaces/{guid}/routes?unmapped=v