Share via


Rule Based Policies - List Rule Based Policies

List rule based policies available in the tenant.

GET https://api.powerplatform.com/governance/ruleBasedPolicies?api-version=2022-03-01-preview

URI Parameters

Name In Required Type Description
api-version
query True

string

The API version.

Responses

Name Type Description
200 OK

ListPolicyResponse

The list of policies.

400 Bad Request

Bad Request - The query parameters are invalid.

401 Unauthorized

Unauthorized - Invalid credentials or missing authentication.

404 Not Found

Not Found - The specified resource does not exist.

500 Internal Server Error

Internal Server Error - Unexpected server error.

Security

oauth2

Microsoft Entra ID OAuth2

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize?resource=https://api.powerplatform.com

Scopes

Name Description
.default .default

Definitions

Name Description
ListPolicyResponse
Policy
RuleSet

ListPolicyResponse

Name Type Description
value

Policy[]

Policy

Name Type Description
id

string

The unique identifier of the policy assignment.

lastModified

string (date-time)

The date and time when the policy was last modified.

name

string

The name of the policy.

ruleSetCount

integer

The number of rule sets associated with this policy.

ruleSets

RuleSet[]

tenantId

string

The unique identifier of the tenant.

RuleSet

Name Type Description
id

string

The unique identifier of the rule set.

inputs

object

The inputs for the rule set, which may vary based on the rule.

version

string

The version of the rule set.