create
DevelopingPOST
/applicationsInternal application to delegate the authentication process to an API key. Users can create either personal or management application.
For Delysium, backend application can use the management application to access data without having to deal with JWT validity. They can also manage their own internal user & roles within that application.
Request
Header Params
Authorization
string
required
Example:
Bearer {{token}}
Body Params application/json
name
string
required
description
string
required
type
enum<string>
application type
Allowed values:
personalmanagement
accessType
enum<string>
application access
Allowed values:
readwritereadwrite
modules
array[string]
api scopes
Allowed values:
walletdiscordplanningwhitelistapplicationnewsletteruser
Example
{
"name": "myapp",
"description": "application description",
"type": "management",
"accessType": "read",
"modules": [
"user"
]
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
apiKey
string
application api-key
use it in header API-KEY field to make request with your application
Example
{
"apiKey": ""
}
Last modified: 2 年前