Associate a request header with a resource
Define which request headers are expected for each resource within a scripted REST API.
Before you begin
Role required: web_service_admin
About this task
The following procedure describes the process for manually associating a REST API request header with a resource. For details about automatically generating request header definitions in non-production instances, see Automatically generate API request definitions.
Procedure
Result
The request headers that you added are included in the exportable OpenAPI specification in the REST API Explorer with a "type: string" schema definition. For more information about exporting OpenAPI specifications, see Export to OpenAPI specification.