v1
latestOpenAPI 3.1.02026-07-261690320.7 KBUpdate OpenAPI spec
Updates the OpenAPI spec of a domain with a specified id
put/domains/{domain_id}/update/openapi-spec
Path parameters
domain_idinteger required
The ID of the domain to update the OpenAPI spec for
Request body
Example request
{
"openapi_spec": "{\"openapi\":\"3.1.0\",\"info\":{\"title\":\"Aikido Security DEMO\",\"version\":\"1.0.0\",}},\"paths\":{\"/test\":{\"get\":{}}}}"
}Response
The OpenAPI Spec has been successfully updated
Example response
{
"success": "1"
}