Try a storage
POST /storages/{name}/test tries one of your storages with the keys kept for it, by listing it: to check it
still works after keys are changed or revoked, or a bucket's permissions are. There is no body.
Example
POST /storages/main/test
X-API-KEY: your-api-key
204 No Content if it works. Otherwise 502 (it can't be reached, its bucket is gone, or it refuses the keys) or 504
(it didn't answer in time), saying why:
{
"title": "The storage refused its keys.",
"status": 502,
"detail": "'main' refused the access keys it was registered with (InvalidAccessKeyId): register it again with keys that can read and write 'my-bucket'."
}
See also: API, Register a storage.