Convert Entity
POST/api
Converts User to Collaborator or wise versa.
Request
- application/json
Body
array
required
Array [
- MOD1
- MOD2
Array [
]
]
action Actionrequired
Possible values: [convert_entity
]
entity_type Entity Typerequired
new_entity_type New Entity Typerequired
entity_key
object
required
anyOf
string
string
data
object
Represent a mapping that can contain other mappings.
property name* any
Represent a mapping that can contain other mappings.
metadata
object
property name* any
Responses
- 200
- 422
Successful Response
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Messagerequired
type Error Typerequired
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...