Generate (or rotate) the account's API key
POST
/apikey/generate/
const url = 'https://app.qsig.in/backend/othercompanyapi/apikey/generate/';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://app.qsig.in/backend/othercompanyapi/apikey/generate/Auth: Bearer
Responses
Section titled “ Responses ”New key
Media type application/json
object
api_key
string
api_key_prefix
string
Example generated
{ "api_key": "example", "api_key_prefix": "example"}