Update Priorities
The priorities will be set based on the order of the provided policies. Additionally, it's necessary to include all active policies except for the default policy.
Request
            
                URI
                    
                                PUT                            
                            https://{api_host}/suite-api/api/policies/priorities
                            COPY
                    Request Body
                        
                            Ids of the active none-default policies in a desired priority order.
                                            
                                                                                            
                                                    policy-priorities                                                
                                            
                                                                                            of type(s)
                                            
                                            
                                                application/json                                            
                                        
                                                                                    Required
                                        
                                    Show optional properties
{
    "policyIds": [
        {}
    ]
}"{\n  \"policyIds\" : [ \"fa5014c1-cf3c-42ca-b518-2330c9b0909b\", \"920dff78-5246-4939-b0a0-70022efbeaa4\", \"2be73113-60c6-4734-8f9e-9536ad8c621c\" ]\n}"
                            
                                    array of 
                
            
            
                                    string
                
                
            
        
        
                policyIds            
                            Required
            
            
        Policy ids prioritized according to input order. This field should contain all active policy ids (except default policy).
Responses
                        
                204            
            
        Policy priorities were updated successfully
Operation doesn't return any data structure
            
            
                    
                400            
            
        Available active policies count doesn't match with input policy ids count
Operation doesn't return any data structure
            
            
                    Code Samples
                    COPY
                                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"policyIds":["string"]}' https://{api_host}/suite-api/api/policies/priorities
                
            Policies Operations
        
                    
                        
                        
                            
                                    PUT                                
                                
                                        Unassign Policy                                    
                                
                                    PUT                                
                                
                                        Assign Policy                                    
                                
                                    PUT                                
                                
                                        Update Priorities                                    
                                
                                    PUT                                
                                
                                        Set Default Policy                                    
                                
                                    GET                                
                                
                                        Get Policies                                    
                                
                                    POST                                
                                
                                        Create Policy                                    
                                
                                    POST                                
                                
                                        Import Policies                                    
                                
                                    POST                                
                                
                                        Apply Policy                                    
                                
                                    GET                                
                                
                                        Get Policy Settings                                    
                                
                                    DELETE                                
                                
                                        Delete Policy Settings                                    
                                
                                    PATCH                                
                                
                                        Patch Policy Settings                                    
                                
                                    GET                                
                                
                                        Export Policies                                    
                                
                                    DELETE                                
                                
                                        Delete Policy                                    
                                