Create user
POST
Create a new user with the provided information
header
X-API-Key<token>API key authentication using X-API-Key header
application/json- body
name*stringLength
3 <= length <= 255apprise*string|nullalias*|nulldiscord_id*|nullnotify_apprise*booleannotify_discord*booleannotify_discord_mention*booleannotify_plex_mobile*booleancan_sync*booleanrequires_approval*booleanDefault Response
application/json- response
success*booleanmessage*stringuser*curl -X POST 'http://localhost:3003/v1/users/' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "apprise": "string", "alias": "string", "discord_id": "string", "notify_apprise": true, "notify_discord": true, "notify_discord_mention": true, "notify_plex_mobile": true, "can_sync": true, "requires_approval": true}'Example Response
{ "success": true, "message": "string", "user": { "id": 0, "name": "string", "apprise": "string", "alias": "string", "discord_id": "string", "notify_apprise": true, "notify_discord": true, "notify_discord_mention": true, "notify_plex_mobile": true, "can_sync": true, "requires_approval": true, "is_primary_token": true, "plex_uuid": "string", "avatar": "string", "display_name": "string", "friend_created_at": "string", "created_at": "string", "updated_at": "string" }}