LightningWeb.API.CredentialController (Lightning v2.14.11-pre1)
View SourceSummary
Functions
Creates a new credential and optionally grants it access to specified projects.
Deletes a credential owned by the authenticated user.
Lists credentials based on the parameters
Functions
Creates a new credential and optionally grants it access to specified projects.
The authenticated user must have access to any projects specified in the project_credentials list. The created credential will be owned by the authenticated user.
Deletes a credential owned by the authenticated user.
Only the owner of the credential can delete it.
Lists credentials based on the parameters:
With project_id: Lists all credentials for that specific project. The user must have access to the project. Includes all credentials (regardless of owner) that have access to the project.
Without project_id: Lists all credentials owned by the authenticated user.
In both cases, the response excludes the credential body for security reasons.