updateInactiveActiveQuota
POST/api/suppliers/updateInactiveActiveQuota
Updates the status of a quota (active/inactive).
Request
Header Parameters
Content-Type string
Specifies the media type of the resource. Should be set to "application/json".
Example: application/json
Authorization string
Bearer token for authorization to access the endpoint.
Example: Bearer 99153XXX66580
- application/json
Body
ProjectId integer
Unique identifier of the project associated with the quota.
QuotaId integer
Unique identifier of the quota being updated.
isQuotaActive integer
Status indicator for the quota (1 for active, 0 for inactive).
Responses
- 200
Successful response
- application/json
- Schema
- Example (from schema)
Schema
status integer
message string
{
"status": 200,
"message": "Quota status updated successfully"
}
Loading...