Skip to main content

Add Custom Permission (v2.0)

POST 

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

Add a custom permission.

Request

Path Parameters

    tenant_id stringrequired

    The tenant 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...