-
Notifications
You must be signed in to change notification settings - Fork 2
Users
loken edited this page Feb 18, 2016
·
5 revisions
Summary
Returns an array of users.
Parameters
None
Returned JSON
{
statusCode: 200,
data: [
{
"username": "plexuser",
"email": "user@plex.com",
"created": "2016-01-07T01:06:03.860Z",
"_id": "V9hCBdxw0fTECjvx"
}
]
meta: {}
}
Summary
Removes a user from Plex Requests. This requires authenticating with an admin user JWT.
Parameters
None
Returned JSON
{
"statusCode": 200,
"data": {
"message": "Removed the user plexuser"
},
"meta": {}
}
Summary
Updates a single user object. All fields can be updated. This requires authenticating with an admin user JWT or the use whose object is being updated.
Parameters
user object should be provided in the body, JSON encoded.
{
"email": "user@awesome.com"
}
Returned JSON
{
"statusCode": 200,
"data": {
"username": "plexuser",
"email": "user@awesome.com",
"created": "2016-01-07T01:06:03.860Z",
"_id": "V9hCBdxw0fTECjvx"
},
"meta": {}
}