Skip to main content
POST
cURL
Defines a new component. Send its fields under component; name is required and is an identifier written with underscores. If you send use_in, send relation with it. The new definition comes back with its cmp_ id and an empty activity_logs.
The SDK samples get their client from credentials your app registers once when it starts, as shown in Authentication. To try the call here, click Try it, set host to your Exsited API host name and paste an access token from Get an access token. To send a raw JSON body instead of filling in fields, copy the cURL sample and edit its -d payload.

Authorizations

Authorization
string
header
required

An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.

Body

application/json
component
object
required

Response

201 - application/json

The new component definition, under component.

component
object