Start tenant operation
X-Okapi-Tenant | string Okapi Tenant |
X-Okapi-Token | string Okapi Token |
X-Okapi-Url | string Okapi URL |
module_from | string Existing module ID. If omitted, the module is not enabled already |
module_to | string Target module ID. If omitted, the existing module is disabled. |
purge | boolean On disable should data also be purged |
Array of objects Parameters that controls what tenant init (eg reference data) |
{- "module_to": "module-1.1",
- "module_from": "module-1.0",
- "parameters": [
- {
- "ref": "core"
}
]
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant": "string",
- "tenantAttributes": {
- "module_from": "string",
- "module_to": "string",
- "purge": true,
- "parameters": [
- {
- "key": "string",
- "value": "string"
}
]
}, - "complete": true,
- "error": "string",
- "messages": [
- "string"
]
}
Get tenant job
id required | string <uuid> job identifier |
wait | integer wait until job change, but no longer than the wait time - in milliseconds. 0 means "no wait" and is behavior if omitted. |
X-Okapi-Tenant | string Okapi Tenant |
X-Okapi-Token | string Okapi Token |
X-Okapi-Url | string Okapi URL |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tenant": "string",
- "tenantAttributes": {
- "module_from": "string",
- "module_to": "string",
- "purge": true,
- "parameters": [
- {
- "key": "string",
- "value": "string"
}
]
}, - "complete": true,
- "error": "string",
- "messages": [
- "string"
]
}