Ownership

Manage device ownership for a project

Set or update device ownership for a project

post

Creates or updates the ownership mapping for a device within the specified project.

Authorizations
Path parameters
projectIdstring · uuidRequired

Project identifier (UUID)

Example: 78a4c60c-1234-5678-90ab-cdef12345678
Body
publisherstringRequired

Device identifier or publisher ID

Example: device_1
ownerstringRequired

Ethereum address of the device owner

Example: 0x1234567890abcdef1234567890abcdef12345678Pattern: ^0x[a-fA-F0-9]{40}$
Responses
200

Ownership recorded

application/json
post
POST /api/project/{projectId}/ownership HTTP/1.1
Host: api.depinscan.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 77

{
  "publisher": "device_1",
  "owner": "0x1234567890abcdef1234567890abcdef12345678"
}
{
  "status": "ok",
  "message": "Ownership recorded"
}