Sets many instance level limits​
Sets many instance level limits
application/json
application/grpc
application/grpc-web+proto
Request Body required
limits object[]
Request Body required
limits object[]
Request Body required
limits object[]
Responses
- 200
- 400
- 403
- 404
- default
Instance limits set
application/json
application/grpc
application/grpc-web+proto
Schema
Example (from schema)
Schema
details object
targetDetails object[]
{
"details": {
"sequence": "2",
"creationDate": "2024-05-24T19:39:26.808Z",
"changeDate": "2024-05-24T19:39:26.808Z",
"resourceOwner": "69629023906488334"
},
"targetDetails": [
{
"sequence": "2",
"creationDate": "2024-05-24T19:39:26.808Z",
"changeDate": "2024-05-24T19:39:26.808Z",
"resourceOwner": "69629023906488334"
}
]
}
Schema
Example (from schema)
Schema
details object
targetDetails object[]
{
"details": {
"sequence": "2",
"creationDate": "2024-05-24T19:39:26.808Z",
"changeDate": "2024-05-24T19:39:26.808Z",
"resourceOwner": "69629023906488334"
},
"targetDetails": [
{
"sequence": "2",
"creationDate": "2024-05-24T19:39:26.808Z",
"changeDate": "2024-05-24T19:39:26.808Z",
"resourceOwner": "69629023906488334"
}
]
}
Schema
Example (from schema)
Schema
details object
targetDetails object[]
{
"details": {
"sequence": "2",
"creationDate": "2024-05-24T19:39:26.809Z",
"changeDate": "2024-05-24T19:39:26.809Z",
"resourceOwner": "69629023906488334"
},
"targetDetails": [
{
"sequence": "2",
"creationDate": "2024-05-24T19:39:26.809Z",
"changeDate": "2024-05-24T19:39:26.809Z",
"resourceOwner": "69629023906488334"
}
]
}
At least one limit must be specified for each instance
application/json
application/grpc
application/grpc-web+proto
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Returned when the user does not have permission to access the resource.
application/json
application/grpc
application/grpc-web+proto
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Returned when the resource does not exist.
application/json
application/grpc
application/grpc-web+proto
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
application/json
application/grpc
application/grpc-web+proto
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
PUT /instances/limits/_bulk
Request
Request
curl / cURL
curl -L -X PUT 'https://$CUSTOM-DOMAIN/system/v1/instances/limits/_bulk' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"limits": [
{
"instanceId": "string",
"auditLogRetention": "string",
"block": true
}
]
}'
python / requests
curl -L -X PUT 'https://$CUSTOM-DOMAIN/system/v1/instances/limits/_bulk' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"limits": [
{
"instanceId": "string",
"auditLogRetention": "string",
"block": true
}
]
}'
go / native
curl -L -X PUT 'https://$CUSTOM-DOMAIN/system/v1/instances/limits/_bulk' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"limits": [
{
"instanceId": "string",
"auditLogRetention": "string",
"block": true
}
]
}'
nodejs / axios
curl -L -X PUT 'https://$CUSTOM-DOMAIN/system/v1/instances/limits/_bulk' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"limits": [
{
"instanceId": "string",
"auditLogRetention": "string",
"block": true
}
]
}'
ruby / Net::HTTP
curl -L -X PUT 'https://$CUSTOM-DOMAIN/system/v1/instances/limits/_bulk' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"limits": [
{
"instanceId": "string",
"auditLogRetention": "string",
"block": true
}
]
}'
csharp / RestSharp
curl -L -X PUT 'https://$CUSTOM-DOMAIN/system/v1/instances/limits/_bulk' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"limits": [
{
"instanceId": "string",
"auditLogRetention": "string",
"block": true
}
]
}'
php / cURL
curl -L -X PUT 'https://$CUSTOM-DOMAIN/system/v1/instances/limits/_bulk' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"limits": [
{
"instanceId": "string",
"auditLogRetention": "string",
"block": true
}
]
}'
java / OkHttp
curl -L -X PUT 'https://$CUSTOM-DOMAIN/system/v1/instances/limits/_bulk' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"limits": [
{
"instanceId": "string",
"auditLogRetention": "string",
"block": true
}
]
}'
powershell / RestMethod
curl -L -X PUT 'https://$CUSTOM-DOMAIN/system/v1/instances/limits/_bulk' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"limits": [
{
"instanceId": "string",
"auditLogRetention": "string",
"block": true
}
]
}'