Credentials API

Routes to manage credentials and read credential types.

Routes to manage credentials. No answer holds a secret value.

List credential names and types

GET /api/v1/credentials

No answer holds a secret value.

Answer: 200. Fields: items.

Create a credential

POST /api/v1/credentials

This route needs the admin role.

Body

Name Type Required Notes
name string Yes Maximum length: 80.
type string Yes
fields object Yes

Answer: 201. Fields: id, name, type, createdAt, updatedAt.

List credential types and the fields of each

GET /api/v1/credential-types

Answer: 200. Fields: items.

Rename a credential or change fields

PATCH /api/v1/credentials/{id}

This route needs the admin role.

Path parameters

Name Type Required Notes
id UUID Yes

Body

Name Type Required Notes
name string No Maximum length: 80.
fields object No

Answer: 200. Fields: id, name, type, createdAt, updatedAt.

Delete a credential

DELETE /api/v1/credentials/{id}

You can delete only a credential that no workflow uses.

This route needs the admin role.

Path parameters

Name Type Required Notes
id UUID Yes

Answer: 200. Fields: deleted.

Change this page on GitHub