Remove Application Assignments

Remove Application Assignments

Remove Application Assignments

Request
URI
DELETE
https://{api_host}/app_volumes/app_assignments
COPY
Request Body

Array of AppAssignment IDs

AppUnassignmentRequestBody of type(s) application/json
Optional
{
    "ids": [
        1
    ]
}
array of integer
ids
Optional

An array of AppAssignment IDs in integer form.

Responses
200

1 entities successfully unassigned

Returns AppUnassignmentSuccess of type(s) application/json
"AppUnassignmentSuccess Object"
object
data
Optional

deleted/not_deleted array shows AppAssignment IDs which are deleted/not_deleted respectively.


400

Unable to delete assignment due to missing parameter ids

Returns ApplicationUnassignmentBadRequestError of type(s) application/json
"ApplicationUnassignmentBadRequestError Object"
string
error
Optional

When parameter ids is missing.


403

Session expired. Create a session and make the request with the _session_id cookie.

Returns UnauthorizedError of type(s) application/json
"UnauthorizedError Object"
string
error
Optional

Session expired. Create a session using and make the request with the _session_id cookie.


500

Server error.

Returns ServerError of type(s) application/json
"ServerError Object"
string
error
Optional

Server Error.

string
detail
Optional

Details of error. Exact error format subject to change depending on type of error.


Code Samples
COPY
                    curl -X DELETE -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/app_volumes/app_assignments