Assign Application To target

Assign Application To target

Assign Application to target

Request
URI
POST
https://{api_host}/app_volumes/app_assignments
COPY
Request Body
AppAssignmentRequestBody of type(s) application/json
Optional
{
    "data": [
        {
            "app_product_id": 1,
            "entities": [
                {
                    "entity_type": "Group",
                    "path": "CN=test1,CN=Users,DC=test,DC=local"
                }
            ],
            "app_package_id": 0,
            "app_marker_id": 1,
            "delivery": "default",
            "filters": [
                {
                    "type": "ComputerPrefixFilter",
                    "value": "COMP"
                }
            ]
        }
    ]
}
array of object
data
Optional

data

Responses
200

1 Entities assigned to the Application Notepad++

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

A collection of app-assignments.


400

Unable to create assignment due to disabled Package, incorrect app_package_id or app_marker_id etc

Returns ApplicationAssignmentBadRequestError of type(s) application/json
"ApplicationAssignmentBadRequestError Object"
array of object
errors
Optional

errors


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.


404

Record not found

Operation doesn't return any data structure

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 POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/app_volumes/app_assignments