Credentials

Credential management operations

List credentials

get

Lists all credentials, optionally filtered by user_id or type

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Query parameters
user_idstringOptional

Filter by user ID

typestringOptional

Filter by credential type

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Responses
200

Credentials listed successfully

application/json
get
/credentials

Create credential

post

Creates a credential

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Body
Responses
post
/credentials

Show credential details

get

Shows details for a credential

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
credential_idstringRequired

The credential ID

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Responses
200

Credential details retrieved successfully

application/json
get
/credentials/{credential_id}

Delete credential

delete

Deletes a credential

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
credential_idstringRequired

The credential ID

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Responses
delete
/credentials/{credential_id}

No content

Update credential

patch

Updates a credential

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
credential_idstringRequired

The credential ID

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Body
Responses
200

Credential updated successfully

application/json
patch
/credentials/{credential_id}

Last updated

Was this helpful?