Endpoint ipx::auth::post_tokensSource
POST /api/tokens
body NewToken
-> NewTokenMade
Make an API token that acts as you.
The answer is the only time the token is shown: only its SHA-256 is kept.
Access: signed in
Body
NewToken, as JSON.
Returns
NewTokenMade, as JSON.
Errors
400 Bad Request- No name.
Example
curl -X POST -H "Authorization: Bearer ipx_…" \
-H "Content-Type: application/json" -d '{"name":"my script"}' \
"http://<your server>:8099/api/tokens"