API Reference
Save org Spectral ruleset
Header Parameters
X-Org-Id*string
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
rulesetYaml?string
Response Body
application/json
application/json
curl -X PUT "https://loading/api-management/cli/v1/spectral-ruleset" \ -H "X-Org-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{
"status": "string"
}{
"status": 0,
"title": "string",
"detail": "string"
}