Skip to main content
POST
Assign an accessory to an employee
Key: Write Scope: Company

Authorizations

Authorization
string
header
required

Use your Primo API key in the Authorization header as Bearer <API_KEY>.

Path Parameters

accessoryId
string
required

Body

application/json
ownerId
string | null
required

Employee ID to assign the accessory to. Pass null to unassign.

Pattern: ^[a-f\d]{24}$

Response

default - application/json
success
boolean
required