quota
{
"quota": {
"manager": "pipedrive",
"resources": "requests",
"scope": {
"userId": "{{userId}}"
}
}
}Dynamic values
{
"quota": {
"manager": "your-service",
// Before the quota request is created, the system will check the user's
// metadata.tier value. If set, it will be used as a 'resources' value.
// If not, the value 'basic' will be used.
"resources": "{{userMetadata.tier || 'basic'}}",
"scope": {
"userId": "{{userId}}"
}
}
}quota.manager
quota.resources
quota.scope
Last updated
Was this helpful?
