Update OpenAPI spec
Updates the OpenAPI spec of a domain with a specified id
put/domains/{domain_id}/update/openapi-spec
Request
- Base URLhttps://app.aikido.dev/api/public/v1
- URLhttps://app.aikido.dev/api/public/v1/domains/{domain_id}/update/openapi-spec
- AuthOAuth 2Client credentialsToken URL: https://app.aikido.io/api/oauth/token scopes: domains:write
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"
}Changes
No recorded changes to this operation across all 1 revision of this API.