Skip to main content

ResourceRulesApi

MethodHTTP requestDescription
create_authentication_flow_using_postPOST /api/web/v2/authenticationflowsCreate an authentication flow
create_resource_rule_using_postPOST /api/web/v2/resourcerulesCreate a resource rule
get_authentication_flow_using_getGET /api/web/v2/authenticationflows/{id}Get an authentication flow
get_authentication_flows_using_getGET /api/web/v2/authenticationflowsGet all authentication flows
get_resource_rule_using_getGET /api/web/v2/resourcerules/{id}Get a resource rule
get_resource_rules_for_resource_using_getGET /api/web/v2/resourcerules/resource/{id}Get all resource rules for a resource
get_resource_rules_using_getGET /api/web/v2/resourcerulesGet all resource rules
get_transaction_rules_using_getGET /api/web/v1/transactionrulesList all transaction rules
remove_authentication_flow_using_deleteDELETE /api/web/v2/authenticationflows/{id}Delete an authentication flow
remove_resource_rule_using_deleteDELETE /api/web/v2/resourcerules/{id}Delete a resource rule
update_authentication_flow_using_putPUT /api/web/v2/authenticationflows/{id}Update an authentication flow
update_resource_rule_using_putPUT /api/web/v2/resourcerules/{id}Update a resource rule

create_authentication_flow_using_post

AuthenticationFlow create_authentication_flow_using_post(authentication_flow_parms)

Create an authentication flow

Create an authentication flow. Caller requires the CONTEXTRULES:ADD permission.

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
authentication_flow_parmsAuthenticationFlowParms

Return type

AuthenticationFlow

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

create_resource_rule_using_post

ResourceRule create_resource_rule_using_post(resource_rule_parms)

Create a resource rule

Create a resource rule for a specified resource. Caller requires the CONTEXTRULES:ADD permission.

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
resource_rule_parmsResourceRuleParms

Return type

ResourceRule

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

get_authentication_flow_using_get

AuthenticationFlow get_authentication_flow_using_get(id)

Get an authentication flow

Get the specified authentication flow. Caller requires the CONTEXTRULES:VIEW permission.

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
idstrThe UUID of the authentication flow to be returned.

Return type

AuthenticationFlow

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

get_authentication_flows_using_get

List[AuthenticationFlow] get_authentication_flows_using_get()

Get all authentication flows

Get all authentication flows. Caller requires the CONTEXTRULES:VIEW permission.

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

This endpoint does not need any parameter.

Return type

List[AuthenticationFlow]

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

get_resource_rule_using_get

ResourceRule get_resource_rule_using_get(id)

Get a resource rule

Get the specified resource rule. Caller requires the CONTEXTRULES:VIEW permission.

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
idstrThe UUID of the resource rule to be returned.

Return type

ResourceRule

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

get_resource_rules_for_resource_using_get

List[ResourceRule] get_resource_rules_for_resource_using_get(id)

Get all resource rules for a resource

Get all resource rules for the specified resource. Caller requires the CONTEXTRULES:VIEW permission.

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
idstrThe UUID of the resource whose resource rules are to be returned.

Return type

List[ResourceRule]

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

get_resource_rules_using_get

List[ResourceRule] get_resource_rules_using_get()

Get all resource rules

Get all resource rules. Caller requires the CONTEXTRULES:VIEW permission.

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

This endpoint does not need any parameter.

Return type

List[ResourceRule]

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

get_transaction_rules_using_get

List[TransactionRuleDescription] get_transaction_rules_using_get()

List all transaction rules

Get all transaction rules. Caller requires the CONTEXTRULES:VIEW permission.

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

This endpoint does not need any parameter.

Return type

List[TransactionRuleDescription]

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

remove_authentication_flow_using_delete

DeleteAuthenticationFlowResult remove_authentication_flow_using_delete(id)

Delete an authentication flow

Delete the specified authentication flow. Caller requires the CONTEXTRULES:REMOVE permission.

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
idstrThe UUID of the authentication flow to be removed.

Return type

DeleteAuthenticationFlowResult

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

remove_resource_rule_using_delete

remove_resource_rule_using_delete(id)

Delete a resource rule

Delete the specified resource rule. Caller requires the CONTEXTRULES:REMOVE permission.

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
idstrThe UUID of the resource rule to be removed.

Return type

void (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

update_authentication_flow_using_put

AuthenticationFlow update_authentication_flow_using_put(id, authentication_flow_parms)

Update an authentication flow

Update the specified authentication flow. Caller requires the CONTEXTRULES:EDIT permission.

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
idstrThe UUID of the authentication flow to be modified.
authentication_flow_parmsAuthenticationFlowParms

Return type

AuthenticationFlow

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

update_resource_rule_using_put

update_resource_rule_using_put(id, resource_rule_parms)

Update a resource rule

Update the specified resource rule. Caller requires the CONTEXTRULES:EDIT permission.

Example

  • Api Key Authentication (AdminAPIAuthentication):

Parameters

NameTypeDescriptionNotes
idstrThe UUID of the resource rule to be modified.
resource_rule_parmsResourceRuleParms

Return type

void (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-