Skip to main content

ResourceRulesApi

MethodHTTP requestDescription
createAuthenticationFlowUsingPOSTPOST /api/web/v2/authenticationflowsCreate an authentication flow
createResourceRuleUsingPOSTPOST /api/web/v2/resourcerulesCreate a resource rule
getAuthenticationFlowUsingGETGET /api/web/v2/authenticationflows/{id}Get an authentication flow
getAuthenticationFlowsUsingGETGET /api/web/v2/authenticationflowsGet all authentication flows
getResourceRuleUsingGETGET /api/web/v2/resourcerules/{id}Get a resource rule
getResourceRulesForResourceUsingGETGET /api/web/v2/resourcerules/resource/{id}Get all resource rules for a resource
getResourceRulesUsingGETGET /api/web/v2/resourcerulesGet all resource rules
getTransactionRulesUsingGETGET /api/web/v1/transactionrulesList all transaction rules
removeAuthenticationFlowUsingDELETEDELETE /api/web/v2/authenticationflows/{id}Delete an authentication flow
removeResourceRuleUsingDELETEDELETE /api/web/v2/resourcerules/{id}Delete a resource rule
updateAuthenticationFlowUsingPUTPUT /api/web/v2/authenticationflows/{id}Update an authentication flow
updateResourceRuleUsingPUTPUT /api/web/v2/resourcerules/{id}Update a resource rule

createAuthenticationFlowUsingPOST

AuthenticationFlow createAuthenticationFlowUsingPOST(authenticationFlowParms)

Create an authentication flow

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

Parameters

NameTypeDescriptionNotes
authenticationFlowParmsAuthenticationFlowParms

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-

createResourceRuleUsingPOST

ResourceRule createResourceRuleUsingPOST(resourceRuleParms)

Create a resource rule

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

Example

Parameters

NameTypeDescriptionNotes
resourceRuleParmsResourceRuleParms

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-

getAuthenticationFlowUsingGET

AuthenticationFlow getAuthenticationFlowUsingGET(id)

Get an authentication flow

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

Example

Parameters

NameTypeDescriptionNotes
idStringThe 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-

getAuthenticationFlowsUsingGET

List<AuthenticationFlow> getAuthenticationFlowsUsingGET()

Get all authentication flows

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

Example

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-

getResourceRuleUsingGET

ResourceRule getResourceRuleUsingGET(id)

Get a resource rule

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

Example

Parameters

NameTypeDescriptionNotes
idStringThe 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-

getResourceRulesForResourceUsingGET

List<ResourceRule> getResourceRulesForResourceUsingGET(id)

Get all resource rules for a resource

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

Example

Parameters

NameTypeDescriptionNotes
idStringThe 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-

getResourceRulesUsingGET

List<ResourceRule> getResourceRulesUsingGET()

Get all resource rules

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

Example

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-

getTransactionRulesUsingGET

List<TransactionRuleDescription> getTransactionRulesUsingGET()

List all transaction rules

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

Example

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-

removeAuthenticationFlowUsingDELETE

DeleteAuthenticationFlowResult removeAuthenticationFlowUsingDELETE(id)

Delete an authentication flow

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

Example

Parameters

NameTypeDescriptionNotes
idStringThe 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-

removeResourceRuleUsingDELETE

removeResourceRuleUsingDELETE(id)

Delete a resource rule

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

Example

Parameters

NameTypeDescriptionNotes
idStringThe UUID of the resource rule to be removed.

Return type

null (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-

updateAuthenticationFlowUsingPUT

AuthenticationFlow updateAuthenticationFlowUsingPUT(id, authenticationFlowParms)

Update an authentication flow

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

Example

Parameters

NameTypeDescriptionNotes
idStringThe UUID of the authentication flow to be modified.
authenticationFlowParmsAuthenticationFlowParms

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-

updateResourceRuleUsingPUT

updateResourceRuleUsingPUT(id, resourceRuleParms)

Update a resource rule

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

Example

Parameters

NameTypeDescriptionNotes
idStringThe UUID of the resource rule to be modified.
resourceRuleParmsResourceRuleParms

Return type

null (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-