light-mode-image
Learn
API ReferenceCredential types

Create credential type

Roles

admindts-provider

Analytics Events

ECOSYSTEM_CREDENTIAL_CREATE_STARTECOSYSTEM_CREDENTIAL_CREATE_SUCCESSECOSYSTEM_CREDENTIAL_CREATE_FAIL
POST/v1/ecosystems/{ecosystemId}/credentials

Creates a new credential type in the requested ecosystem.

Analytic events

  • ECOSYSTEM_CREDENTIAL_CREATE_START
  • ECOSYSTEM_CREDENTIAL_CREATE_SUCCESS
  • ECOSYSTEM_CREDENTIAL_CREATE_FAIL

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

ecosystemId*string

The UUID of the ecosystem

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/ecosystems/497f6eca-6276-4993-bfeb-53cbbbba6f08/credentials" \  -H "Content-Type: application/json" \  -d '{    "profile": "compact",    "type": "string",    "name": "string"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "ecosystemId": "e2e92b49-5a4f-4804-83c0-325e709d9dcd",  "profile": "compact",  "type": "string",  "name": "string"}

How would you rate this page?