Infraon API Guide
Product DocsSchemaAuthentication
  • Welcome
    • Base URL
    • Authorization
    • Responses
  • Modules
    • Schema
    • Authentication
    • Announcement
    • API Registration
    • Async Tasks
    • BusinessRule
    • BusinessServiceConfiguration
    • Service Catalogue
    • CMDBBlacklistWhitelist
    • CMDBCategory
    • CMDBConsumables
    • Ux
    • CMDBSoftwareLicense
    • Cmdb
    • CMDBRelation
    • CMDBSoftware
    • ContractManagement
    • Department
    • Events
    • Field Configuration
    • IMACD
    • Knowledge Base
    • Leaves
    • Chat
    • Marketplace
    • APIViewSet
    • BeepViewSet
    • SMSviewset
    • Suppressedviewset
    • Organization Location
    • Partner
    • Predicted Events
    • Requester
    • Service Feasibility Requests
    • Role Profile
    • Tag
    • Service_outage
    • Teams
    • Telecom Settings
    • Trap Configurations
    • User Profile
    • Vendor Managemment
    • Association Events
    • Device Template
    • Discovery Configuration
    • Jobs
    • MIB Explorer
    • Seasonal Events
    • IPAM
    • Log Grok Pattern Configuration
    • Log Pipeline Configuration
    • Log Integraion
    • Log Search
    • CLI Download Jobs
    • Configuration Profiles
    • Configuration Policies
    • Configuration Rules
    • Configuration Search
    • Configuration Template
    • Configuration Trigger
    • Jobs Account Audit
    • Manage Vulnerabilities
    • OS Image Download
    • Rule Group
    • Configuration Upload Jobs
    • Work Flow Jobs
    • Change
    • Checklist
    • Incident
    • Problem
    • Release
    • Request Process
    • Task
    • Models
Powered by GitBook
On this page
  1. Modules

Authentication

PreviousSchemaNextAnnouncement
  • POSTGet the auth token.
  • POSTGet the auth token.
  • POSTGet encrypted data for the password string

Get the auth token.

post

Endpoint for obtaining APP AUTH TOKEN with last_login update.

Authorizations
Body
Other propertiesanyOptional
Responses
200Success
application/json
post
POST /ux/api-token/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 46

{
  "username": "admin",
  "password": "YWRtaW4xMjM="
}
200Success
{
  "ANY_ADDITIONAL_PROPERTY": "anything"
}

Get the auth token.

post

Endpoint for obtaining APP AUTH TOKEN with last_login update.

Authorizations
Body
Other propertiesanyOptional
Responses
200Success
application/json
post
POST /ux/api-token-auth/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 42

{
  "username": "admin",
  "password": "admin123"
}
200Success
{
  "ANY_ADDITIONAL_PROPERTY": "anything"
}

Get encrypted data for the password string

post

Endpoint for getting JS Encrypted Password.

Authorizations
Body
Other propertiesanyOptional
Responses
200Success
application/json
post
POST /ux/password_js_encrypt/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 38

"ANY_ADDITIONAL_PROPERTY='anything'"
200Success
{
  "ANY_ADDITIONAL_PROPERTY": "anything"
}