Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

PUT /config/resource_restrictions/{resource_restriction_id}

 

Updates a resource restriction consumer by ID.

Updates a resource restriction consumer by ID.

Table 1: PUT /config/resource_restrictions/{resource_restriction_id} Resource Details

MIME Type

application/json

Table 2: PUT /config/resource_restrictions/{resource_restriction_id} Request Parameter Details

Parameter

Type

Optionality

Data Type

MIME Type

Description

resource_

restriction_id

path

Required

String

text/plain

Required - The resource restriction ID of the resource restriction to be updated. Must be of the format [1-3]-\d+

fields

header

Optional

String

text/plain

Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas.

Table 3: PUT /config/resource_restrictions/{resource_restriction_id} Request Body Details

Parameter

Data Type

MIME Type

Description

Sample

resource

Restriction

Object

application/json

Required - The resource restrictions to be updated.

{ "data_window": 42, "execution_time": 42, "id": "String", "record_limit": 42, "role_id": 42, "tenant_id": 42, "user_id": 42 }

Table 4: PUT /config/resource_restrictions/{resource_restriction_id} Response Codes

HTTP Response Code

Unique Code

Description

200

 

The resource restriction consumer was successfully updated.

404

1006

The resource restriction consumer (user, tenant, or role) wasn't found.

422

1005

Provided ID is not a valid format. Must be of the format [1-3]-\d+

500

1007

An error occurred during the retrieval of the resource restriction.

Response Description

The associated restriction object.

Response Sample