Lists all Projects the user is a member of by using the user's API key token.
Bad Request
Not Found
Internal server error
Paginated list of Projects
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Creates a new Harness Project.
Details of the Project to create
required | object (Project1) This is the Project Entity details defined in Harness |
Bad Request
Not Found
Internal server error
Returns created Project
{- "project": {
- "orgIdentifier": "string",
- "identifier": "string",
- "name": "string",
- "color": "string",
- "modules": [
- "CD"
], - "description": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Lists a Project's details for the given ID.
Bad Request
Not Found
Internal server error
Returns Project having ID as specified in request
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Updates Project details for the given ID.
This is the updated Project. Please provide values for all fields, not just the fields you are updating
required | object (Project1) This is the Project Entity details defined in Harness |
Bad Request
Not Found
Internal server error
Returns updated Project details
{- "project": {
- "orgIdentifier": "string",
- "identifier": "string",
- "name": "string",
- "color": "string",
- "modules": [
- "CD"
], - "description": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Deletes a Project corresponding to the given ID.
Bad Request
Not Found
Internal server error
It returns true if the Project is deleted successfully and false if the Project is not deleted
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Bad Request
Not Found
Internal server error
Paginated list of Projects
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}