Create an endpoint
Requires the inventory:write API key scope.
Authentication
AuthorizationBearer
A workspace API key, sent as Authorization: Bearer.
OR
x-api-keystring
A workspace API key, sent as x-api-key.
Path parameters
appId
Application UUID.
Request
This endpoint expects an object.
endpoint
description
type
transport
Allowed values:
location
Source file that handles the endpoint.
startLineNumber
endLineNumber
objectives
authenticationRequired
businessLogic
threatModel
Response
The created endpoint.
id
endpoint
transport
Allowed values:
type
applicationId
location
authRequired
createdAt
description
objectives
startLineNumber
endLineNumber
authenticationRequired
businessLogic
threatModel
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error