Skip to main content
PUT
Update an API endpoint

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace_id
integer<int64>
required
apigroup_id
integer<int64>
required
api_id
integer<int64>
required

Query Parameters

publish
boolean
default:true
include_xanoscript
boolean
default:false

Body

The body is of type string.

Example:

"query foo verb=GET {\n input {\n int score\n }\n stack {\n var $x1 {\n value = $input.score + 1\n }\n }\n response = $x1\n}\n"

Response

Success!