Skip to main content

PatchPolicyV2DTO

Patch request for an Access Policy

namestringnullable

New Name for the identified entity

Possible values: <= 128 characters

descriptionstringnullable

New Description for the identified entity

isActivebooleannullable

New Status for the identified entity

tags object[]nullable

New Tags for the identified entity

  • Array [
  • keystringrequired

    Tag Key

    Possible values: non-empty

    valuestringrequired

    Tag Key Value

    Possible values: non-empty

  • ]
  • clientWorkloaduuid

    Client Workload associated with this Access Policy

    serverWorkloaduuid

    Server Workload associated with this Access Policy

    credentialProviders object[]nullable

    Credential Providers associated with this Access Policy

  • Array [
  • credentialProviderIduuidrequired

    CredentialProviderId

    mappingTypePolicyCredentialProviderMappingTypes (string)required

    Possible values: [None, AccountName, HttpHeader, HttpBody]

    accountNamestringnullable

    Snowflake Username

    Possible values: <= 256 characters, Value must match regular expression ^[\p{L}a-zA-Z0-9][\p{L}a-zA-Z0-9._-]*$

    headerNamestringnullable

    Header Name

    Possible values: <= 256 characters, Value must match regular expression ^[\p{L}a-zA-Z0-9][\p{L}a-zA-Z0-9._-]*$

    headerValuestringnullable

    Header Value

    Possible values: <= 256 characters, Value must match regular expression ^[\p{L}a-zA-Z0-9][\p{L}a-zA-Z0-9._-]*$

    httpbodyFieldPathstringnullable

    HttpBody Field Path

    Possible values: <= 256 characters, Value must match regular expression ^[\p{L}a-zA-Z0-9][\p{L}a-zA-Z0-9._-]*$

    httpbodyFieldValuestringnullable

    HttpBody Field Value

    Possible values: <= 256 characters, Value must match regular expression ^[\p{L}a-zA-Z0-9][\p{L}a-zA-Z0-9._-]*$

  • ]
  • trustProvidersuuid[]nullable

    Trust Providers associated with this Access Policy

    accessConditionsuuid[]nullable

    Access Conditions associated with this Access Policy

    PatchPolicyV2DTO
    {
    "name": "string",
    "description": "string",
    "isActive": true,
    "tags": [
    {
    "key": "string",
    "value": "string"
    }
    ],
    "clientWorkload": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "serverWorkload": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "credentialProviders": [
    {
    "credentialProviderId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "mappingType": "None",
    "accountName": "string",
    "headerName": "string",
    "headerValue": "string",
    "httpbodyFieldPath": "string",
    "httpbodyFieldValue": "string"
    }
    ],
    "trustProviders": [
    "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    ],
    "accessConditions": [
    "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    ]
    }