Function: getValidProjectKey()
ts
function getValidProjectKey(client, parameters?): Promise<string>;Defined in: src/cloud/api/projectKeyAndNameValidation.ts:31
Validates a project key and, if the key is invalid or in use, generates a valid random string for the project key.
Permissions required: None.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters? | { key?: string; } | - |
parameters.key? | string | The project key. |
Returns
Promise<string>