Skip to main content
POST
/
v2
/
workspaces
/
{workspaceId}
/
writeLock
cURL
curl --request POST \
  --url https://api.eda.prisme.ai/v2/workspaces/{workspaceId}/writeLock \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "<string>"
}
'
{
  "writeLock": {
    "lockedAt": "<string>",
    "lockedBy": "<string>",
    "reason": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://prismeai-docs-next.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string
required

Workspace id

Body

application/json
reason
string

Reason for the lock (defaults to "manual")

Response

Success Response

writeLock
object

Lock preventing writes during versioning operations or unresolved merge conflicts