Skip to content

Create an authentication rule

POST
/api/v2/organizations/{organization}/projects/{project}/rules/auth

Authorizations

Parameters

Path Parameters

organization
required
string

Organization identifier

project
required
string

Project identifier

Request Body required

object
auth_user
required

Authentication username

string
admin
auth_pass
required

Authentication password

string
secure_password123

Responses

200

The request has succeeded.

object
action_config
required
object
auth_user

Authentication username

string
admin
auth_pass

Authentication password

string
secure_password123

400

The server could not understand the request due to invalid syntax.

object
message
required

Error message

string
The requested resource was not found
error
required

Error flag

boolean
true

403

Access is forbidden.

object
message
required

Error message

string
The requested resource was not found
error
required

Error flag

boolean
true