credential-types

POST /credential-types/

Changed on

Create a new credential type.

Request

  • Base URL
    /api/eda/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/eda/v1/credential-types/
  • Auth
    • API key in cookie sessionid
    • or HTTP basic
    • or HTTP bearer
    • or API key in header X-DAB-JW-TOKEN

Request body

namestring required
descriptionstring
inputsobject required

Inputs of the credential type

injectorsobject required

Injectors of the credential type

Response

Return the new credential type.

namestring required
namespacestring nullable
kindstring
descriptionstring
inputsobject
injectorsobject
idinteger required
created_atstring date-time required
modified_atstring date-time required
managedboolean required

Changes

    • breaking

      the request property became required (media type: application/json)

    • breaking

      the request property became required (media type: application/x-www-form-urlencoded)

    • breaking

      the request property became required (media type: multipart/form-data)

    • breaking

      removed the required property from the response with the status

    • warning

      removed the request property (media type: application/json)

    • warning

      removed the request property (media type: application/x-www-form-urlencoded)

    • warning

      removed the request property (media type: multipart/form-data)

    • info

      endpoint added