GENERATE API KEY
POST
/users/generate-keyRequest
Header Params
X-Tonic-Env
string
required
Example:
development
Body Params application/json
object {0}
Example
{}
Request samples
Responses
GENERATE API KEY(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
message
string
required
success
boolean
required
data
object
required
apiKey
string
required
meta
object
required
settings
null
required
ExampleGENERATE API KEY
{
"message": "api key generated successfully",
"success": true,
"data": {
"apiKey": "PRIV_0cb6d7552c3ee9af5cf46750dd4aa4eff6b845b02a6aa97f16a5ac0f1443f203"
},
"meta": {
"settings": null
}
}
Last modified: 10 days ago