22.25 SET_WORKSPACE_PARAMETER
The SET_WORKSPACE_PARAMETER procedure sets the designated workspace parameter.
                  
Syntax
SET_WORKSPACE_PARAMETER(
    p_workspace     IN VARCHAR2,
    p_parameter     IN VARCHAR2,
    p_value         IN VARCHAR2 );Parameters
Table 22-21 SET_WORKSPACE_PARAMETER Parameters
| Parameter | Description | 
|---|---|
| 
                                  
  | 
                              
                                  The name of the workspace to which you are setting the workspace parameter.  | 
                           
| 
                                  
  | 
                              
                                  The parameter name which overrides the instance parameter value of the same for this workspace. Parameter names include: 
  | 
                           
| 
                                  
  | 
                              
                                  The parameter value.  | 
                           
Example
The following example demonstrates how to use the set_workspace_parameter procedure to restrict URLs for accessing applications in the HR workspace that have hr.example.com in the hostname or domain name.
                  
BEGIN
    apex_instance_admin.set_workspace_parameter (
            p_workspace => 'HR',
            p_parameter => 'ALLOW_HOSTNAMES' );
            p_value     => 'hr.example.com' );
    COMMIT
END;
Parent topic: APEX_INSTANCE_ADMIN