Update Subscription
Update Subscription
application/json
Request Body required
organization_id Organization Id
platform_type object
expire_at Expire At
active Active
subscription_type_id Subscription Type Id
Responses
- 200
- 422
Successful Response
application/json
Schema
Example (from schema)
Schema
organization_id uuid required
platform_type PlatformTypes required
Possible values: [public
, private
]
expire_at Expire At
id uuid required
active Active required
created_at date-time required
updated_at date-time required
subscription_type object required
name Name required
tag Tag required
description Description required
statement_descriptor Statement Descriptor
Possible values: <= 22 characters
avatar_limit Avatar Limit
user_limit User Limit
price Price required
payment_cycle PaymentCycle required
Possible values: [1
, 2
, 3
, 6
, 12
]
type object
id uuid required
{ "organization_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "platform_type": "public", "expire_at": "string", "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "active": true, "created_at": "2025-01-10T08:50:51.861Z", "updated_at": "2025-01-10T08:50:51.861Z", "subscription_type": { "name": "string", "tag": "string", "description": "string", "statement_descriptor": "string", "avatar_limit": 0, "user_limit": 0, "price": 0, "payment_cycle": "1", "type": "custom", "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6" } }
Validation Error
application/json
Schema
Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
detail object[]
loc object[] required
anyOf
MOD1
MOD2
string
integer
msg Message required
type Error Type required
{ "detail": [ { "loc": [ "string", 0 ], "msg": "string", "type": "string" } ] }
Loading...