Get delegatee details

Get delegatee details

By specifying an organization ID on the organizations endpoint, you can retrieve the details of an organization with which you are connected.

curl -X GET "https://onfleet.com/api/v2/organizations/cBrUjKvQQgdRp~s1qvQNLpK*" \
       -u "cd3b3de84cc1ee040bf06512d233719c:"
onfleet.organization.get(id="cBrUjKvQQgdRp~s1qvQNLpK*")
onfleet.organization.get("cBrUjKvQQgdRp~s1qvQNLpK*");
$onfleet->organization->get("id");
{
  "id": "cBrUjKvQQgdRp~s1qvQNLpK*",
  "name": "Onfleet Engineering",
  "email": "[email protected]",
  "timezone": "America/Los_Angeles",
  "country": "US"
}
{
  "code": "MethodNotAllowed",
  "message": "GET is not allowed"
}

In cases where an invalid delegateeID is provided, an error message will be thrown.