---
raw: true
search:
  tags:
    - Spaces
    - POST
seo:
  description: >-
    Puts every parked rule back into the state it was paused from. Safe…
    Reference for the POST /v1/spaces/{spaceId}/rules/resume endpoint in the
    Spacefast API.
sidebar:
  label: Resume a space's traffic rules
  badge: POST
title: Resume a space's traffic rules
type: openapi-operation
---
Puts every parked rule back into the state it was paused from. Safe to call on a space that is not paused.

`POST /v1/spaces/{spaceId}/rules/resume`

**Responses**

- `200` — Response for status 200
- `default` — Problem details (RFC 9457). Any 4xx/5xx response is one \`application/problem+json\` document.

Response example, 200:

```json
{
  "$schema": "http://example.com",
  "data": {
    "rules": [
      {
        "id": "string",
        "name": "string",
        "handle": "string",
        "kind": "firewall",
        "origin": "file",
        "sourceRef": "string",
        "placement": "edge",
        "placementReason": "string",
        "desiredState": "enabled",
        "edgeState": "pending",
        "definition": {
          "name": "string",
          "description": "string",
          "action": "block",
          "status": 400,
          "match": {
            "path": "string",
            "host": "string",
            "method": "string",
            "ip": "string",
            "country": "string",
            "asn": "string",
            "userAgent": "string",
            "referer": "string",
            "header": {
              "property1": "string",
              "property2": "string"
            },
            "cookie": {
              "property1": "string",
              "property2": "string"
            },
            "query": {
              "property1": "string",
              "property2": "string"
            },
            "extension": "string",
            "ja3": "string",
            "ja4": "string"
          },
          "any": true
        },
        "lastError": {
          "code": "string",
          "message": "string"
        }
      }
    ],
    "quota": {
      "used": -9007199254740991,
      "limit": -9007199254740991,
      "stale": true
    },
    "paused": true,
    "hostnames": [
      "string"
    ],
    "collapsed": [
      {
        "ruleName": "string",
        "origin": "file",
        "reason": "fingerprint"
      }
    ]
  }
}
```
