enterprise_license_create
POST/enterprise/license/
License Viewset
Request
- application/json
Body
required
key stringrequired
Possible values: non-empty
Responses
- 201
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
license_uuid uuidrequired
name stringrequired
key stringrequired
expiry date-timerequired
internal_users integerrequired
external_users integerrequired
{
"license_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"key": "string",
"expiry": "2024-07-29T15:51:28.071Z",
"internal_users": 0,
"external_users": 0
}
- application/json
- Schema
- Example (from schema)
Schema
non_field_errors string[]
code string
property name* any
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
Loading...