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
200Success
application/json
get
/api/users/devices200Success
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
201Success
application/json
post
/api/users/devices201Success
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
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
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
204
No response body
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
200Success
application/json
patch
/api/users/devices/{id}200Success