Reset To Production

Version 4.0.25.2 (latest)

Reset a project to the revision of the project that is in production.

DANGER this will delete any changes that have not been pushed to a remote repository.

Request

POST /projects/{project_id}/reset_to_production
Datatype
Description
Request
HTTP Request
path
HTTP Path
project_id
string
Id of project

Response

Datatype
Description
(string)
string
Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link
Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link
Datatype
Description
(object)
message
string
Error details
field
string
Field with error
code
string
Error code
message
string
Error info message
documentation_url
string
Documentation link
documentation_url
string
Documentation link
Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link