Bulk assign keys to a guardrail

Assign multiple API keys to a specific guardrail.

Authentication

AuthorizationBearer
API key as bearer token in Authorization header

Path parameters

idstringRequiredformat: "uuid"
The unique identifier of the guardrail

Request

This endpoint expects an object.
key_hasheslist of stringsRequired
Array of API key hashes to assign to the guardrail

Response

Assignment result
assigned_countdouble
Number of keys successfully assigned

Errors