Skip to content

Delete a world instance

DELETE
/instances/{instanceId}
curl --request DELETE \
--url https://api.hiddendoor.co/experience/v1/instances/da1cc53b-9d9e-4edb-83e4-d5a9ee713130 \
--header 'Authorization: Bearer <token>'

Delete this application-owned instance. Its entities, stories and temporary resources are no longer accessible through the API. This does not delete the world seed or other instances.

instanceId
required
string format: uuid

Example

da1cc53b-9d9e-4edb-83e4-d5a9ee713130

DELETE /instances/:instanceId Parameter

DELETE /instances/:instanceId Positive response

Media type application/json
object
instanceId
required
string format: uuid

Example

{
"instanceId": "da1cc53b-9d9e-4edb-83e4-d5a9ee713130"
}

Request parameters or the JSON body do not conform to this operation’s input schema. Correct the request before retrying.

Media type application/json
object
error
required

The HTTP error category. Use the status code to handle failures.

string
Allowed value: Bad Request
message
required

A human-readable explanation. Do not parse this text for program logic.

string

Example

{
"error": "Bad Request",
"message": "Request parameters or the JSON body do not conform to this operation’s input schema. Correct the request before retrying."
}

Authentication is missing or invalid. Supply a valid API key in the Authorization: Bearer header.

Media type application/json
object
error
required

The HTTP error category. Use the status code to handle failures.

string
Allowed value: Unauthorized
message
required

A human-readable explanation. Do not parse this text for program logic.

string

Example

{
"error": "Unauthorized",
"message": "Authentication is missing or invalid. Supply a valid API key in the Authorization: Bearer header."
}

The authenticated account does not have access to the Experience API.

Media type application/json
object
error
required

The HTTP error category. Use the status code to handle failures.

string
Allowed value: Forbidden
message
required

A human-readable explanation. Do not parse this text for program logic.

string

Example

{
"error": "Forbidden",
"message": "The authenticated account does not have access to the Experience API."
}

The resource does not exist or is not accessible to your application.

Media type application/json
object
error
required

The HTTP error category. Use the status code to handle failures.

string
Allowed value: Not Found
message
required

A human-readable explanation. Do not parse this text for program logic.

string

Example

{
"error": "Not Found",
"message": "The resource does not exist or is not accessible to your application."
}

The operation conflicts with the current instance or story state. Read the current state before choosing the next action.

Media type application/json
object
error
required

The HTTP error category. Use the status code to handle failures.

string
Allowed value: Conflict
message
required

A human-readable explanation. Do not parse this text for program logic.

string

Example

{
"error": "Conflict",
"message": "The operation conflicts with the current instance or story state. Read the current state before choosing the next action."
}

The JSON request body exceeds 100 KB. Reduce its size before retrying.

Media type application/json
object
error
required

The HTTP error category. Use the status code to handle failures.

string
Allowed value: Payload Too Large
message
required

A human-readable explanation. Do not parse this text for program logic.

string

Example

{
"error": "Payload Too Large",
"message": "The JSON request body exceeds 100 KB. Reduce its size before retrying."
}

The server could not complete the request. Internal error details are not exposed.

Media type application/json
object
error
required

The HTTP error category. Use the status code to handle failures.

string
Allowed value: Internal Server Error
message
required

A human-readable explanation. Do not parse this text for program logic.

string

Example

{
"error": "Internal Server Error",
"message": "Internal server error"
}