---
title: "Retry provisioning a hosted resource"
method: POST
path: "/hosted_resources/{id}/retry_provision"
tags: ["Hosted Resources"]
---

# Retry provisioning a hosted resource

`POST /hosted_resources/{id}/retry_provision`

## Request

- Base URL: `https://sg.deployhq.com`
- URL: `https://sg.deployhq.com/hosted_resources/{id}/retry_provision`
- Auth: HTTP basic

Retries provisioning for a hosted resource that is in an error state. Resets the status to provisioning and enqueues a new provision job.

## Path parameters

- `id` string, required

## Response `200`

OK

- StatusObject
  - `status` string

## Other responses

- `401`: You are not authorized to access this resource. You need to authenticate yourself first.
- `403`: You are not allowed to access this resource. You do not have the necessary permissions.
- `422`: Unprocessable Entity
- `500`: An unexpected error occurred on the server. The server was unable to process the request.

---

[API](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation.md) · [All operations](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation/revisions/830264ae58be?raw)
