Oracle APEX · Schema
PrivilegeCreate
Request body for creating or updating an ORDS privilege
APEXCloudDatabaseDevelopment PlatformEnterpriseGenerative AILow-CodeOracleORDSPL/SQLREST APIWeb ApplicationsWorkflow
Properties
| Name | Type | Description |
|---|---|---|
| name | string | Unique name of the ORDS privilege |
| label | string | Human-readable label for the privilege |
| description | string | Description of the privilege purpose |
| roles | string | Null-character-separated list of ORDS roles assigned to this privilege |
| patterns | string | Null-character-separated list of URL patterns protected by this privilege |
| modules | string | Null-character-separated list of REST modules protected by this privilege |
| comments | string | Descriptive comment for the privilege |
| run_mode | string | Set to 'codePreview' to return the PL/SQL code instead of executing it |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/PrivilegeCreate",
"title": "PrivilegeCreate",
"type": "object",
"description": "Request body for creating or updating an ORDS privilege",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Unique name of the ORDS privilege"
},
"label": {
"type": "string",
"description": "Human-readable label for the privilege"
},
"description": {
"type": "string",
"description": "Description of the privilege purpose"
},
"roles": {
"type": "string",
"description": "Null-character-separated list of ORDS roles assigned to this privilege"
},
"patterns": {
"type": "string",
"description": "Null-character-separated list of URL patterns protected by this privilege"
},
"modules": {
"type": "string",
"description": "Null-character-separated list of REST modules protected by this privilege"
},
"comments": {
"type": "string",
"description": "Descriptive comment for the privilege"
},
"run_mode": {
"type": "string",
"description": "Set to 'codePreview' to return the PL/SQL code instead of executing it",
"enum": [
"codePreview"
]
}
}
}