Download OpenAPI specification:Download
Extension to allow paswordless login to the CKAN API.
Get API token for a user, if reset key valid.
string | |
| key | string |
{- "email": "string",
- "key": "string"
}{- "success": true,
- "result": {
- "token": "API_TOKEN"
}
}Get API token for a user, if Azure AD auth code valid.
string | |
| token | string |
{- "email": "string",
- "token": "string"
}{- "success": true,
- "result": {
- "token": "API_TOKEN"
}
}Revoke API token for a user, without requiring auth.
| token | string |
{- "token": "string"
}{- "success": true,
- "result": {
- "message": "success"
}
}{- "success": true,
- "result": {
- "user": {
- "id": "USER_ID",
- "name": "USERNAME",
- "fullname": "USER_FULLNAME",
- "created": "2021-11-11T11:52:06.681420",
- "about": null,
- "activity_streams_email_notifications": false,
- "sysadmin": false,
- "state": "active",
- "image_url": null,
- "display_name": "USER_DISPLAY_NAME",
- "email_hash": "EMAIL_HASH",
- "number_created_packages": 1,
- "apikey": "USER_API_KEY(Deprecated)",
- "email": "USER_EMAIL",
- "image_display_url": null
}, - "token": "NEW_API_TOKEN"
}
}