Examples

POST /api/organizations/447626502/rh_cloud/inventory_sync
{
  "inventory": {}
}
200
{
  "task": {
    "id": "a294402e-ee9e-46e8-bc66-2b82a0e892f0",
    "label": "task1",
    "started_at": null,
    "ended_at": null,
    "state": "stopped",
    "result": "success",
    "external_id": null,
    "parent_task_id": null,
    "start_at": null,
    "start_before": null,
    "action": "N/A N/A",
    "user_id": null,
    "state_updated_at": "2024-05-23T19:44:14.465Z"
  }
}

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

organization_id
required

Set the current organization context for the request

Validations:

  • Integer