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 authenticationFlowParms)

Create an authentication flow

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

Using the CreateAuthenticationFlowUsingPOSTWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

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 resourceRuleParms)

Create a resource rule

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

Example

Using the CreateResourceRuleUsingPOSTWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

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 (string id)

Get an authentication flow

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

Example

Using the GetAuthenticationFlowUsingGETWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

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

Using the GetAuthenticationFlowsUsingGETWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

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 (string id)

Get a resource rule

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

Example

Using the GetResourceRuleUsingGETWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

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 (string id)

Get all resource rules for a resource

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

Example

Using the GetResourceRulesForResourceUsingGETWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

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

Using the GetResourceRulesUsingGETWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

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

Using the GetTransactionRulesUsingGETWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

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 (string id)

Delete an authentication flow

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

Example

Using the RemoveAuthenticationFlowUsingDELETEWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

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

void RemoveResourceRuleUsingDELETE (string id)

Delete a resource rule

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

Example

Using the RemoveResourceRuleUsingDELETEWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

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

UpdateAuthenticationFlowUsingPUT

AuthenticationFlow UpdateAuthenticationFlowUsingPUT (string id, AuthenticationFlowParms authenticationFlowParms)

Update an authentication flow

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

Example

Using the UpdateAuthenticationFlowUsingPUTWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

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

void UpdateResourceRuleUsingPUT (string id, ResourceRuleParms resourceRuleParms)

Update a resource rule

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

Example

Using the UpdateResourceRuleUsingPUTWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

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

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-