Skip to main content
POST
Set Force HTTPS status

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

env_id
string
required
Example:

"54fb80af-576c-4fdc-ba4f-b596c83f15a1"

Body

application/json
type
enum<string>
required
Available options:
ENABLED_FOR_ALL,
ENABLED_REDIRECT_TO_PRIMARY,
DISABLED
Example:

"ENABLED_REDIRECT_TO_PRIMARY"

Response

Force HTTPS status update for the given environment is in progress

message
string
required
Example:

"Updating Force HTTPS status in progress. Use the operation_id to check the status."

status
number
required
Example:

202

operation_id
string
Example:

"force-https:update-status-54fb80af-576c-4fdc-ba4f-b596c83f15a1"