Skip to main content
PUT
Set an application's deploy provenance mode

Authorizations

Authorization
string
header
required

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

Path Parameters

application_id
string<uuid>
required

Body

application/json
mode
enum<string> | null
required

off, warn or enforce; null clears the choice.

Available options:
off,
warn,
enforce,
null

Response

The application's effective mode after the change.

application_id
string<uuid>
required
mode
enum<string>
required

The mode the application's deploys use.

Available options:
off,
warn,
enforce
source
enum<string>
required
Available options:
application,
organisation,
default
application_mode
enum<string> | null
required

The application's own choice, null when none.

Available options:
off,
warn,
enforce,
null
organisation_mode
enum<string> | null
required

The organisation's default, null when none.

Available options:
off,
warn,
enforce,
null