curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#GITHUB_LOCK_ISSUE' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"action": "GITHUB_LOCK_ISSUE",
"parameters": {
"owner": "<string>",
"repo": "<string>",
"issue_number": "<string>",
"lock_reason": "off-topic"
}
}'
curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#GITHUB_LOCK_ISSUE' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"action": "GITHUB_LOCK_ISSUE",
"parameters": {
"owner": "<string>",
"repo": "<string>",
"issue_number": "<string>",
"lock_reason": "off-topic"
}
}'
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Your Paragon Project ID
Success
Was this page helpful?