Update a mapping
Mappings
Update a mapping
Updates an existing gateway mapping configuration.
PATCH
Update a mapping
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Unique topic identifier of the gateway
Query Parameters
HTTP method for the mapping in uppercase
Available options:
GET, POST, PUT, DELETE, PATCH, OPTIONS, HEAD URL path for the mapping including the leading slash
Body
application/json
Updated URL path for the mapping
Example:
"/api/users/v2"
Whether the mapping is publicly accessible
Example:
false
Updated timeout in milliseconds for mapping requests
Example:
60000
Updated traffic distribution configuration for A/B testing
Example:
{ "1": 80, "2": 20 }Response
Mapping updated successfully
Example:
"success"