Sets quota configuration properties​
Creates a new quota if it doesn't exist for the specified unit
Sets quota configuration properties Creates a new quota if it doesn't exist for the specified unit
Path Parameters
Request Body required
Possible values: [UNIT_UNIMPLEMENTED
, UNIT_REQUESTS_ALL_AUTHENTICATED
, UNIT_ACTIONS_ALL_RUN_SECONDS
]
Default value: UNIT_UNIMPLEMENTED
the unit a quota should be imposed on
the starting time from which the current quota period is calculated from. This is relevant for querying the current usage.
the quota periods duration
the quota amount of units
whether ZITADEL should block further usage when the configured amount is used
notifications object[]
Request Body required
Possible values: [UNIT_UNIMPLEMENTED
, UNIT_REQUESTS_ALL_AUTHENTICATED
, UNIT_ACTIONS_ALL_RUN_SECONDS
]
Default value: UNIT_UNIMPLEMENTED
the unit a quota should be imposed on
the starting time from which the current quota period is calculated from. This is relevant for querying the current usage.
the quota periods duration
the quota amount of units
whether ZITADEL should block further usage when the configured amount is used
notifications object[]
Request Body required
Possible values: [UNIT_UNIMPLEMENTED
, UNIT_REQUESTS_ALL_AUTHENTICATED
, UNIT_ACTIONS_ALL_RUN_SECONDS
]
Default value: UNIT_UNIMPLEMENTED
the unit a quota should be imposed on
the starting time from which the current quota period is calculated from. This is relevant for querying the current usage.
the quota periods duration
the quota amount of units
whether ZITADEL should block further usage when the configured amount is used
notifications object[]
- 200
- 403
- 404
- default
A successful response.
Schema
details object
{
"details": {
"sequence": "2",
"creationDate": "2024-06-17T11:37:09.059Z",
"changeDate": "2024-06-17T11:37:09.059Z",
"resourceOwner": "69629023906488334"
}
}
Schema
details object
{
"details": {
"sequence": "2",
"creationDate": "2024-06-17T11:37:09.059Z",
"changeDate": "2024-06-17T11:37:09.059Z",
"resourceOwner": "69629023906488334"
}
}
Schema
details object
{
"details": {
"sequence": "2",
"creationDate": "2024-06-17T11:37:09.059Z",
"changeDate": "2024-06-17T11:37:09.059Z",
"resourceOwner": "69629023906488334"
}
}
Returned when the user does not have permission to access the resource.
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Returned when the resource does not exist.
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
PUT /instances/:instanceId/quotas
Request
Request
curl -L -X PUT 'https://$CUSTOM-DOMAIN/system/v1/instances/:instanceId/quotas' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"unit": "UNIT_UNIMPLEMENTED",
"from": "2019-04-01T08:45:00.000000Z",
"resetInterval": "string",
"amount": "string",
"limit": true,
"notifications": [
{
"percent": 0,
"repeat": true,
"callUrl": "string"
}
]
}'
curl -L -X PUT 'https://$CUSTOM-DOMAIN/system/v1/instances/:instanceId/quotas' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"unit": "UNIT_UNIMPLEMENTED",
"from": "2019-04-01T08:45:00.000000Z",
"resetInterval": "string",
"amount": "string",
"limit": true,
"notifications": [
{
"percent": 0,
"repeat": true,
"callUrl": "string"
}
]
}'
curl -L -X PUT 'https://$CUSTOM-DOMAIN/system/v1/instances/:instanceId/quotas' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"unit": "UNIT_UNIMPLEMENTED",
"from": "2019-04-01T08:45:00.000000Z",
"resetInterval": "string",
"amount": "string",
"limit": true,
"notifications": [
{
"percent": 0,
"repeat": true,
"callUrl": "string"
}
]
}'
curl -L -X PUT 'https://$CUSTOM-DOMAIN/system/v1/instances/:instanceId/quotas' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"unit": "UNIT_UNIMPLEMENTED",
"from": "2019-04-01T08:45:00.000000Z",
"resetInterval": "string",
"amount": "string",
"limit": true,
"notifications": [
{
"percent": 0,
"repeat": true,
"callUrl": "string"
}
]
}'
curl -L -X PUT 'https://$CUSTOM-DOMAIN/system/v1/instances/:instanceId/quotas' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"unit": "UNIT_UNIMPLEMENTED",
"from": "2019-04-01T08:45:00.000000Z",
"resetInterval": "string",
"amount": "string",
"limit": true,
"notifications": [
{
"percent": 0,
"repeat": true,
"callUrl": "string"
}
]
}'
curl -L -X PUT 'https://$CUSTOM-DOMAIN/system/v1/instances/:instanceId/quotas' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"unit": "UNIT_UNIMPLEMENTED",
"from": "2019-04-01T08:45:00.000000Z",
"resetInterval": "string",
"amount": "string",
"limit": true,
"notifications": [
{
"percent": 0,
"repeat": true,
"callUrl": "string"
}
]
}'
curl -L -X PUT 'https://$CUSTOM-DOMAIN/system/v1/instances/:instanceId/quotas' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"unit": "UNIT_UNIMPLEMENTED",
"from": "2019-04-01T08:45:00.000000Z",
"resetInterval": "string",
"amount": "string",
"limit": true,
"notifications": [
{
"percent": 0,
"repeat": true,
"callUrl": "string"
}
]
}'
curl -L -X PUT 'https://$CUSTOM-DOMAIN/system/v1/instances/:instanceId/quotas' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"unit": "UNIT_UNIMPLEMENTED",
"from": "2019-04-01T08:45:00.000000Z",
"resetInterval": "string",
"amount": "string",
"limit": true,
"notifications": [
{
"percent": 0,
"repeat": true,
"callUrl": "string"
}
]
}'
curl -L -X PUT 'https://$CUSTOM-DOMAIN/system/v1/instances/:instanceId/quotas' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"unit": "UNIT_UNIMPLEMENTED",
"from": "2019-04-01T08:45:00.000000Z",
"resetInterval": "string",
"amount": "string",
"limit": true,
"notifications": [
{
"percent": 0,
"repeat": true,
"callUrl": "string"
}
]
}'