application/json
TypeScript Definitions
Use the request body type in TypeScript.
1 <= length1 <= lengthapplication/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/projects/string/paywall-locations" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "slug": "string" }'{ "id": "string", "projectId": "string", "name": "string", "slug": "string", "description": "string", "isArchived": true, "archivedAt": "string", "showing": { "id": "string", "paywallLocationId": "string", "type": "paywall", "paywallId": "string", "buildNumber": -9007199254740991, "featureFlagId": "string", "startedAt": "string", "endedAt": "string", "createdByUserId": "string" }, "createdAt": "string", "updatedAt": "string"}{ "error": { "type": "invalid_request", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "unauthenticated", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "permission_denied", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "not_found", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "conflict", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "internal", "code": "string", "message": "string", "param": "string" }}