Export Policy By Id
Changed onExport a single policy as JSON.
Returns the policy in a format suitable for import.
Docs: Guide | API Reference
Raises: ResourceNotFoundError: If the policy does not exist.
Request
- Base URLhttps://api.grayswan.ai
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Response
Successful Response
Changes
- breaking
the
response's property type changed fromarraytostringfor status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
the response property
became required for the status - info
added the required property
to the response with the status
- breaking