Liftbay
API referenceDevices

Rename, enable or disable a device

PATCH
/v1/orgs/{org}/devices/{device}

Disabled devices are left out of new ad hoc profiles (and disabled at Apple when the team has a key).

Authorization

cookielb_session<token>

Dashboard session cookie, set by the sign-in endpoints.

Path Parameters

org*string
device*string

Request Body

application/json
  1. body
name?string
Length1 <= length <= 50
enabled?boolean

Response Body

OK

application/json
  1. response
id*string
teamId*string
udid*string
name*string
model*string|null
registeredAtApple*boolean
enabled*boolean
addedBy*string
createdAt*string
curl -X PATCH "https://example.com/v1/orgs/string/devices/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "teamId": "string",  "udid": "string",  "name": "string",  "model": "string",  "registeredAtApple": true,  "enabled": true,  "addedBy": "string",  "createdAt": "string"}