Admin
Admin Access Key List
List all access keys for the entire instance. This is only available to admin accounts and is used to manage access keys from other accounts.
List all access keys for the entire instance. This is only available to admin accounts and is used to manage access keys from other accounts.
curl -X GET "https://loading/api/admin/access-keys"{
"keys": [
{
"id": "cc5lnd2s1s4652adtu50",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"deletedAt": "2019-08-24T14:15:22Z",
"misc": {},
"name": "string",
"enabled": true,
"expires_at": "2019-08-24T14:15:22Z",
"created_by": {
"id": "cc5lnd2s1s4652adtu50",
"joined": "2019-08-24T14:15:22Z",
"suspended": "2019-08-24T14:15:22Z",
"handle": "Southclaws",
"name": "Barnaby Keene"
}
}
]
}Empty
Empty
{
"error": "string",
"message": "string",
"suggested": "string",
"metadata": {}
}Admin Access Key Delete DELETE DELETE
Revoke an access key. This will immediately invalidate the key and it will no longer be usable for authentication.
Admin Account Ban Create POST POST
Suspend an account - soft delete. This disables the ability for the account owner to log in and use the platform. It keeps the account on record for linkage to content so UI doesn't break. It does not change anything else about the account such as the avatar, name, etc.