Add rule to profile

Authentication

AuthorizationBearer

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

Path parameters

profile_idstringRequiredformat: "uuid"

Request

This endpoint expects an object.
host_patternstringRequired1-255 characters
priorityintegerOptional>=0Defaults to 0
path_patternstring or nullOptional<=512 characters
methodslist of strings or nullOptional
actionenumOptional
Allowed values:
rate_limit_rpminteger or nullOptional>=1
provider_keystring or nullOptional<=64 characters
auth_strategyobject or nullOptional
content_filterobject or nullOptional

Response

Successful Response
idstringformat: "uuid"
priorityinteger
host_patternstring
actionstring
path_patternstring or null
methodslist of strings or null
rate_limit_rpminteger or null
provider_keystring or null
auth_strategymap from strings to any or null
content_filtermap from strings to any or null
created_atdatetime or null
updated_atdatetime or null

Errors

401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error