curl --request PUT \
--url https://api.example.com/api/projects/{projectId}/restore \
--header 'Authorization: Bearer <token>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"organisationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": "v1",
"createdAt": "<string>",
"updatedAt": "<string>",
"key": "<string>",
"protected": true,
"deletedAt": "<string>",
"decisionsApprovalMode": "require_one_per_team",
"decisionsApprovalGroups": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"roleId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}Restore a soft-deleted project, making it active again. If the project key conflicts, a new key will be generated.
curl --request PUT \
--url https://api.example.com/api/projects/{projectId}/restore \
--header 'Authorization: Bearer <token>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"organisationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": "v1",
"createdAt": "<string>",
"updatedAt": "<string>",
"key": "<string>",
"protected": true,
"deletedAt": "<string>",
"decisionsApprovalMode": "require_one_per_team",
"decisionsApprovalGroups": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"roleId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}Personal access token is obtained through your profile
Unique identifier of the project to restore
Restored project details
Restored project details
Unique identifier of the project
Name of the project
Organisation ID the project belongs to
Project version (v1 or v2)
v1, v2 Timestamp when the project was created
Timestamp when the project was last updated
Unique key identifier for the project
Whether the project is protected from deletion
Timestamp when the project was soft deleted
Approval mode for decisions
require_one_per_team, none_create_request, require_any, none, Groups required for decision approvals
Show child attributes
Was this page helpful?