Create a credential

Create a new credential for storing login information.

POST/credentials

Create a new credential for storing login information.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Request to create a new credential

Response

application/json

Credential created successfully

A stored credential for automatic re-authentication

curl -X POST "https://example.com/credentials" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "domain": "string",    "values": {      "property1": "string",      "property2": "string"    }  }'
{  "id": "string",  "name": "string",  "domain": "string",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "has_values": true,  "has_totp_secret": true,  "value_keys": [    "string"  ],  "sso_provider": "string",  "totp_code": "string",  "totp_code_expires_at": "2019-08-24T14:15:22Z"}