Hyperion
  1. Authorization
Hyperion
  • JSON-RPC API Introduction
  • JSON-API Commands Overview
  • Connect to Hyperion
  • Components & Priorities
  • Hyperion API
    • Authorization
      • API Authentication - Introduction
      • createToken
        POST
      • renameToken
        POST
      • deleteToken
        POST
      • getTokenlist
        POST
      • tokenRequired
        POST
      • adminRequired
        POST
      • newPasswordRequired
        POST
      • requestToken
        POST
      • newPassword
        POST
      • answerRequest
        POST
      • getPendingTokenRequests
        POST
      • login
        POST
      • logout
        POST
    • Information
      • getSystemInformation
      • getSubscriptionInformation
      • getServerInformation
      • getImageSnapshot
      • getLedsSnapshot
    • Controls
      • Input Controls
        • setColor
        • setEffect
        • setImage
        • clear
        • clearAll
        • selectSource
      • Output Controls
        • adjustColors
        • setLedMapping
        • setVideomode
      • Subscription Controls
        • liveImageStream
        • liveLedColorStream
      • Operational Controls
        • setComponentState
        • setInstanceState
        • switchInstance
        • setSystemState
        • setSubscriptions
    • Configuration
      • createInstance
      • deleteInstance
      • renameInstance
      • getConfiguration
      • updateConfiguration
      • restoreConfiguration
      • getSchemas
  1. Authorization

newPassword

Testing Env
https://{{host}}:8092
Testing Env
https://{{host}}:8092
POST
/json-rpc/authorize/password/new
WebsocketHTTP/S
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://localhost:8092/json-rpc/authorize/password/new' \
--header 'Content-Type: application/json' \
--data-raw '{
    "command": "authorize",
    "subcommand": "newPassword",
    "password": "hyperion",
    "newPassword": "NewPassword",
    "tan": 4711
}'
Response Response Example
Success
{
    "command": "authorize-newPassword",
    "success": true,
    "tan": 4711
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
command
enum<string> 
required
Main instruction field. For authentication, always set to 'authorize'.
Allowed value:
authorize
subcommand
enum<string> 
required
Defines the specific authorization action, such as login, logout, etc.
Allowed value:
newPassword
password
string 
required
Current password. Must be at least 8 characters long.
>= 8 characters
newPassword
string 
required
New password to set. Must be at least 8 characters.
>= 8 characters
tan
integer 
optional
Transaction number for tracking requests and responses.
>= 0
Example:
4711
Examples

Responses

🟢200Success
application/json
Body
object {0}
Previous
requestToken
Next
answerRequest
Built with