Devices

get

ViewSet for managing user devices.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
limitintegerOptional

Number of results to return per page.

offsetintegerOptional

The initial index from which to return the results.

Responses
chevron-right
200Success
application/json
get
/api/users/devices
200Success
post

ViewSet for managing user devices.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
idstring · uuidRead-onlyRequired
device_idstring · max: 255Required
user_idstring · uuidWrite-onlyRequired
created_atstring · date-time · nullableOptional
Responses
post
/api/users/devices
201Success
get

ViewSet for managing user devices.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired

A UUID string identifying this user device.

Responses
chevron-right
200Success
application/json
get
/api/users/devices/{id}
200Success
put

ViewSet for managing user devices.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired

A UUID string identifying this user device.

Body
idstring · uuidRead-onlyRequired
device_idstring · max: 255Required
user_idstring · uuidWrite-onlyRequired
created_atstring · date-time · nullableOptional
Responses
chevron-right
200Success
application/json
put
/api/users/devices/{id}
200Success
delete

ViewSet for managing user devices.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired

A UUID string identifying this user device.

Responses
delete
/api/users/devices/{id}
204

No response body

No content

patch

ViewSet for managing user devices.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired

A UUID string identifying this user device.

Body
idstring · uuidRead-onlyOptional
device_idstring · max: 255Optional
user_idstring · uuidWrite-onlyOptional
created_atstring · date-time · nullableOptional
Responses
chevron-right
200Success
application/json
patch
/api/users/devices/{id}
200Success