Skip to navigation

Delete Policy Key Sets

Clear the routing policy’s key sets, so the project’s (or the organization’s default keys) serve it.

Authentication

AuthorizationBearer

A management key (mgmt_...), sent as Authorization: Bearer <key>. Reading /v1/routing-policies also accepts the organization’s gateway API keys; writing there needs a management key.

Path parameters

policy_idstringRequiredformat: "uuid"

The policy’s id.

Response

The policy's key sets, now none
key_setsmap from strings to strings

The key set used for each vendor, as {vendor: key_set_id}. A routing policy’s key set wins over its project’s for the same vendor. With no key set for a vendor, the organization’s default key serves it.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
502
Bad Gateway Error