Create an ORDS privilege
post
                    /ords/rest/privileges/
Creates an ORDS privilege.
                
                Request
There are no request parameters for this operation.
Supported Media Types
                            - application/json
Root Schema : schema
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    comments: string
                    
                    
                     
                    
                
                
                Comments text.
- 
                
                    
                    description: string
                    
                    
                     
                    
                
                
                ORDS privilege description text.
- 
                
                    
                    label: string
                    
                    
                     
                    
                
                
                ORDS privilege label.
- 
                
                    
                    modules: string
                    
                    
                     
                    
                
                
                String of an ORDS modules list separated by the null char.
- 
                
                    
                    name(required): string
                    
                    
                     
                    
                
                
                Name of the ORDS privilege
- 
                
                    
                    patterns: string
                    
                    
                     
                    
                
                
                String of an ORDS patterns list separated by the null char.
- 
                
                    
                    roles: string
                    
                    
                     
                    
                
                
                String of an ORDS roles list separated by the null char.
- 
                
                    
                    run_mode: string
                    
                    
                     
                    
                
                
                Its value can be 'codePreview', which would make the endpoint respond with the code the backend would have executed. When the parameter is not provided, the endpoint will respond with the results of the operation execution.
Response
Supported Media Types
                - application/json
201 Response
Details of the ORDS privilege that has been successfully created.
                            
                            
                                400 Response
No name parameter provided or Length parameter is too long.
                            
                            
                            
                            
                        404 Response
A module or A module name does not existname does not exist.
                            
                            
                            
                            
                        409 Response
A privilege with that name already exists.