Skip to main content

Update Tenant Custom Permission (v2.0)

PUT 

/v2.0/api/tenants/:tenant_id/permissions/:permission_id

Update a tenant custom permission.

Request

Path Parameters

    tenant_id stringrequired

    The tenant ID.

    permission_id stringrequired

    The permission ID.

Body

Permission details

    allowed_after_ms int64

    Allowed After Ms

    allowed_before_ms int64

    Allowed Before Ms

    disabled boolean

    List the disabled custom permissions.

    disabled_reason string

    The reason for disabling the custom permission.

    disallow_permission boolean

    Disallow Permission

    id string

    The ID.

    inactive boolean

    List the inactive custom permissions.

    inactive_reason string

    The reason for the custom permission being inactive.

    region string

    The region.

    tenant_id stringrequired

    ID of the tenant.

    value stringrequired

    The custom permission value.

Responses

Successful Operation

Schema
    allowed_after_ms int64

    Allowed After Ms

    allowed_before_ms int64

    Allowed Before Ms

    disabled boolean

    List the disabled custom permissions.

    disabled_reason string

    The reason for disabling the custom permission.

    disallow_permission boolean

    Disallow Permission

    id string

    The ID.

    inactive boolean

    List the inactive custom permissions.

    inactive_reason string

    The reason for the custom permission being inactive.

    region string

    The region.

    tenant_id stringrequired

    ID of the tenant.

    value stringrequired

    The custom permission value.

Loading...