Skip to main content
POST
/
companies
/
{companyId}
/
restore
Restore Company
curl --request POST \
  --url https://api.nuwebgroup.com/v1/partner/companies/{companyId}/restore \
  --header 'Authorization: Bearer <token>' \
  --header 'X-NU-RESELLER-ID: <x-nu-reseller-id>'
{
  "data": {
    "id": 123,
    "type": "companies",
    "attributes": {
      "name": "Global ticket company",
      "alias": "globalticketcompany",
      "createdAt": "2023-01-01T13:57:01.000000Z",
      "updatedAt": "2023-01-01T13:57:01.000000Z",
      "deletedAt": null
    }
  }
}

Authorizations

Authorization
string
header
required

The 'Bearer' token can be obtained from the token management interface or via the login endpoint using your hub user credentials.

Headers

X-NU-RESELLER-ID
integer
required

The ID of the reseller this operation should be performed against.

Path Parameters

companyId
integer
required

The ID of the company you wish to restore.

Response

Successfully restored the company.

data
object