Bulk update organization policy rule conditions for an OAuth client

Allows an OAuth client to update multiple organization policy rule conditions at once.

PUT
https://identity.krystal.io/api/v1/client/organization_policy_rule_conditions/synchronize

If successful, this endpoint will return a 200 OK status.

Scopes

One of the following scopes are required to use this endpoint.

Arguments

The following arguments are supported for this endpoint.

Name Type Default Value

organization_policy_rule_conditions Required

OrganizationPolicyRuleConditionProperties Array None

Potential Errors

The following errors may occur during this request.

Details HTTP status

payload_too_large

The request is larger than the server is willing or able to process

413 Payload Too Large

validation_error

An error ocurred with the input provided

422 Unprocessable Entity

Returned Object

When the request is successful, you can expect an object matching the specification below to be returned.

{
    organization_policy_rule_conditions: [ OrganizationPolicyRuleCondition {
        key: String
        value: String
        operators: [ OrganizationPolicyRuleConditionOperatorEnum ]
        options: [ OrganizationPolicyRuleConditionOption? {
            key: String
            value: String
        } ]
        oauth_client: OAuthClient {
            id: String
            auth_method: String
            client_credentials: Boolean
            description: String?
            first_party: Boolean
            name: String
            redirect_uris: [ String ]
            verified: Boolean
            webhook_url: String?
        }
    } ]
}