Parameters for the putPromptLock operation.

interface PutPromptLockParams {
    force?: boolean;
    headers?: OutgoingHttpHeaders;
    lockType?: string;
    locked: boolean;
    lockedBy?: string;
    projectId?: string;
    promptId: string;
    spaceId?: string;
}

Properties

force?: boolean

Override a lock if it is currently taken.

headers?: OutgoingHttpHeaders
lockType?: string

Lock type: 'edit' for working on prompts/templates or 'governance'. Can only be supplied in PUT /lock requests.

locked: boolean

True if the prompt is currently locked.

lockedBy?: string

Locked by is computed by the server and shouldn't be passed.

projectId?: string

[REQUIRED] Specifies the project ID as the target. One target must be supplied per request.

promptId: string

Prompt ID.

spaceId?: string

[REQUIRED] Specifies the space ID as the target. One target must be supplied per request.