Act on several secret groups
POST
/v1/organisations/{id}/secrets/bulkOperation views.secretsBulk · since 2026-11-05 · stable
Needs a session withwritescopeAnswers200 OK
A preview per environment.
Path parameters
- idstring (uuid)required
- The organisation id.
Body (JSON)
Fields not listed here are refused.
- actionstringrequired
- "rotate" (values Rykloud made) or "remove".
- itemsarray of { environmentId, resourceId, name }required
- 1 to 200 secrets.
Errors
Every error is { "error", "message", "detail"? } (Errors and references). Besides the codes any route can answer.
POST/v1/organisations/{id}/secrets/bulk
curl -X POST "https://api.rykloud.com/v1/organisations/$ORG_ID/secrets/bulk" \
-H "Authorization: Bearer $RYKLOUD_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"action": "<action>",
"items": "<items>"
}'