Replace the default kind in a space

Embed
Preview of the card
<a href="https://forumulate.com/reference/forumulate-api-shape-setdefaultkind"><img src="https://forumulate.com/reference/_api/public/orgs/046a9bc0-d530-43ae-9bae-af7945008cda/spaces/8042f004-e3d9-445f-b7a4-b6c1f86836e6/pages/aeeb949a-f4e7-4e9f-b76f-116a889264b7/social-card.svg?v=3e7ae33eec8b" alt="Replace the default kind in a space" width="600" height="315"></a>
PUThttps://forumulate.com/api/orgs/{orgId}/spaces/{spaceId}/shape/default-kind

Requires token scope: write (the coarse method gate) for Atlas key (ak_), Personal Access Token (cft_) or OAuth (cfo_) auth — in addition to any catalog scope (GET /pats/scopes) the route’s capability needs. Session/cookie auth is governed by RBAC capabilities instead.

Parameters
orgIdstringpathrequired
spaceIdstringpathrequired
forumulate-versionstringheader
API version negotiation. Send forumulate-version: 2026-12-01 on every request from a new integration; it is optional only so that integrations written before versioning keep working. Each version includes everything before it:
Idempotency-Keystringheader
Makes this write safe to retry. Optional — send any unique string (a UUID is ideal) and the first request runs while its response is remembered under that key for 24 hours; an identical retry replays that same status and body instead of acting twice, so a timeout or a 5xx from the edge can be retried without creating a second row. A retry sent while the first request is still in flight is refused with 409. The key is scoped to the method and path, so the same key on a different endpoint is a different request. Error responses of 5xx are never cached — those retries re-run. A key is bound to the BODY it was first used with: reusing it with a different body is a 409 idempotency.key_reused, not a replay, because replaying would tell you a write landed that never ran. Generate one key per request, never per process or per session.
Request body application/json
kindstringrequired
{
  "kind": "string"
}
Code samples
cURL
curl -X PUT "https://forumulate.com/api/orgs/{orgId}/spaces/{spaceId}/shape/default-kind" \
  -H "forumulate-version: <value>" \
  -H "Idempotency-Key: <value>" \
  -H "Content-Type: application/json" \
  -d '{"kind":"string"}'
TypeScript
const res = await fetch('https://forumulate.com/api/orgs/{orgId}/spaces/{spaceId}/shape/default-kind', {
  method: 'PUT',
  headers: {
    'forumulate-version': '<value>',
    'Idempotency-Key': '<value>',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({"kind":"string"}),
});
const data = await res.json();
Python
import requests

res = requests.request(
    "PUT",
    "https://forumulate.com/api/orgs/{orgId}/spaces/{spaceId}/shape/default-kind",
    headers={
    "forumulate-version": "<value>",
    "Idempotency-Key": "<value>",
    "Content-Type": "application/json",
    },
    json={"kind": "string"},
)
data = res.json()
Go
package main

import (
	"fmt"
	"io"
	"net/http"
	"strings"
)

func main() {
	req, _ := http.NewRequest("PUT", "https://forumulate.com/api/orgs/{orgId}/spaces/{spaceId}/shape/default-kind", strings.NewReader(`{"kind":"string"}`))
	req.Header.Set("forumulate-version", "<value>")
	req.Header.Set("Idempotency-Key", "<value>")
	req.Header.Set("Content-Type", "application/json")
	res, _ := http.DefaultClient.Do(req)
	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)
	fmt.Println(string(body))
}
PHP
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://forumulate.com/api/orgs/{orgId}/spaces/{spaceId}/shape/default-kind');
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'PUT');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ['forumulate-version: <value>', 'Idempotency-Key: <value>', 'Content-Type: application/json']);
curl_setopt($ch, CURLOPT_POSTFIELDS, '{"kind":"string"}');
$response = curl_exec($ch);
curl_close($ch);
echo $response;
Ruby
require 'net/http'
require 'uri'

uri = URI('https://forumulate.com/api/orgs/{orgId}/spaces/{spaceId}/shape/default-kind')
req = Net::HTTP::Put.new(uri)
req['forumulate-version'] = '<value>'
req['Idempotency-Key'] = '<value>'
req['Content-Type'] = 'application/json'
req.body = '{"kind":"string"}'
res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: uri.scheme == 'https') do |http|
  http.request(req)
end
puts res.body
Java
import java.net.URI;
import java.net.http.*;
import java.net.http.HttpRequest.BodyPublishers;

HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("https://forumulate.com/api/orgs/{orgId}/spaces/{spaceId}/shape/default-kind"))
    .header("forumulate-version", "<value>")
    .header("Idempotency-Key", "<value>")
    .header("Content-Type", "application/json")
    .method("PUT", BodyPublishers.ofString("{\"kind\":\"string\"}"))
    .build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
Responses
200 Success.
Example
{
  "base": {
    "blockTypes": [
      {
        "description": null,
        "fields": null,
        "group": null,
        "icon": null,
        "key": null,
        "label": null,
        "variants": null
      }
    ],
    "params": [
      {
        "accept": null,
        "admin": null,
        "allowed": null,
        "allowedBlocks": null,
        "allowedGroups": null,
        "column": null,
        "condition": null,
        "default": null,
        "expr": null,
        "facet": null,
        "fields": null,
        "from": null,
        "hasMany": null,
        "hint": null,
        "indexed": null,
        "internal": null,
        "key": null,
        "label": null,
        "language": null,
        "localized": null,
        "max": null,
        "maxLength": null,
        "meta": null,
        "min": null,
        "minLength": null,
        "options": null,
        "pattern": null,
        "placeholder": null,
        "relationSpaceId": null,
        "required": null,
        "rowLabelField": null,
        "schema": null,
        "schemaProperty": null,
        "sortable": null,
        "to": null,
        "type": null,
        "unique": null,
        "visibility": null
      }
    ],
    "sections": [
      {
        "example": null,
        "hint": null,
        "key": null,
        "kind": null,
        "label": null,
        "render": null,
        "required": null,
        "role": null,
        "schemaProperty": null
      }
    ],
    "settings": {
      "blockLibrary": true,
      "defaultSort": "string",
      "defaultVisibility": "internal",
      "group": "string",
      "icon": "string",
      "listColumns": [
        null
      ],
      "orderable": true,
      "previewUrl": "string",
      "routable": true,
      "searchableFields": [
        null
      ],
      "singleton": true,
      "slugField": "string",
      "strict": true,
      "titleField": "string",
      "versions": {
        "max": null
      }
    },
    "space": {
      "index": "board",
      "nav": "categories",
      "order": "activity",
      "summary": [
        null
      ],
      "whoCreates": "anyone"
    },
    "unknown": [
      "string"
    ]
  },
  "defaultKind": "string",
  "jsonSchema": {},
  "override": {
    "blockTypes": {
      "add": [
        null
      ],
      "omit": [
        null
      ],
      "order": [
        null
      ],
      "set": {},
      "unset": {}
    },
    "params": {
      "add": [
        null
      ],
      "omit": [
        null
      ],
      "order": [
        null
      ],
      "set": {},
      "unset": {}
    },
    "sections": {
      "add": [
        null
      ],
      "omit": [
        null
      ],
      "order": [
        null
      ],
      "set": {},
      "unset": {}
    },
    "space": {
      "index": "board",
      "nav": "categories",
      "order": "activity",
      "summary": [
        null
      ],
      "whoCreates": "anyone"
    }
  },
  "presets": [
    {
      "description": "string",
      "label": "string",
      "layout": [
        null
      ],
      "name": "string",
      "own": true,
      "sections": [
        null
      ],
      "settings": {
        "blockLibrary": null,
        "defaultSort": null,
        "defaultVisibility": null,
        "group": null,
        "icon": null,
        "listColumns": null,
        "orderable": null,
        "previewUrl": null,
        "routable": null,
        "searchableFields": null,
        "singleton": null,
        "slugField": null,
        "strict": null,
        "titleField": null,
        "versions": null
      }
    }
  ],
  "shape": {
    "blockTypes": [
      {
        "description": null,
        "fields": null,
        "group": null,
        "icon": null,
        "key": null,
        "label": null,
        "variants": null
      }
    ],
    "params": [
      {
        "accept": null,
        "admin": null,
        "allowed": null,
        "allowedBlocks": null,
        "allowedGroups": null,
        "column": null,
        "condition": null,
        "default": null,
        "expr": null,
        "facet": null,
        "fields": null,
        "from": null,
        "hasMany": null,
        "hint": null,
        "indexed": null,
        "internal": null,
        "key": null,
        "label": null,
        "language": null,
        "localized": null,
        "max": null,
        "maxLength": null,
        "meta": null,
        "min": null,
        "minLength": null,
        "options": null,
        "pattern": null,
        "placeholder": null,
        "relationSpaceId": null,
        "required": null,
        "rowLabelField": null,
        "schema": null,
        "schemaProperty": null,
        "sortable": null,
        "to": null,
        "type": null,
        "unique": null,
        "visibility": null
      }
    ],
    "sections": [
      {
        "example": null,
        "hint": null,
        "key": null,
        "kind": null,
        "label": null,
        "render": null,
        "required": null,
        "role": null,
        "schemaProperty": null
      }
    ],
    "settings": {
      "blockLibrary": true,
      "defaultSort": "string",
      "defaultVisibility": "internal",
      "group": "string",
      "icon": "string",
      "listColumns": [
        null
      ],
      "orderable": true,
      "previewUrl": "string",
      "routable": true,
      "searchableFields": [
        null
      ],
      "singleton": true,
      "slugField": "string",
      "strict": true,
      "titleField": "string",
      "versions": {
        "max": null
      }
    },
    "space": {
      "index": "board",
      "nav": "categories",
      "order": "activity",
      "summary": [
        null
      ],
      "whoCreates": "anyone"
    },
    "unknown": [
      "string"
    ]
  },
  "warnings": [
    "tags: \"Launch Day\" is stored as \"launch-day\""
  ]
}
Schema
baseobjectrequired
Show child parameters
blockTypesBlockType[]required
Show child parameters
descriptionstring
fieldsSpaceTypeField[]required
groupstring
iconstring
keystringrequired
labelstringrequired
variantsBlockVariant[]
paramsSpaceTypeField[]required
Show child parameters
acceptstring[]
adminobject
allowedstring[]
allowedBlocksstring[]
allowedGroupsstring[]
columnboolean
conditionstring | number | boolean | string | number | boolean | object[] | object[] | object
defaultobject
exprstring | number | boolean | string | number | boolean | object[] | object[] | object
facetboolean
fieldsSpaceTypeField[]
fromstring
hasManyboolean
hintstring
indexedboolean
internalboolean
keystringrequired
labelstringrequired
languagestring
localizedboolean
maxnumber
maxLengthnumber
metaboolean
minnumber
minLengthnumber
optionsstring[]
patternstring
placeholderstring
relationSpaceIdstring
requiredboolean
rowLabelFieldstring
schemaobject
schemaPropertystring
sortableboolean
toReferenceTarget[]
typestringrequired
array | blocks | boolean | code | color | computed | date | datetime | email | file | form | group | hours | image | json | link | media | money | multiselect | number | place | reference | relation | richText | select | seo | slug | text | textarea | url
uniqueboolean
visibilitystring
internal | preview | public
sectionsSpaceTypeSection[]required
Show child parameters
examplestring
hintstring
keystringrequired
kindstringrequired
list | prose | steps | table
labelstringrequired
renderstring
labelled | lede | plain
requiredboolean
rolestring
example | prerequisite | reference | resolution | summary | symptom
schemaPropertystring
settingsobject
Show child parameters
blockLibraryboolean
defaultSortstring
defaultVisibilitystring
internal | preview | public
groupstring
iconstring
listColumnsstring[]
orderableboolean
previewUrlstring
routableboolean
searchableFieldsstring[]
singletonboolean
slugFieldstring
strictboolean
titleFieldstring
versionsobject
spaceobjectrequired
Show child parameters
indexstringrequired
board | landing | list | single
navstringrequired
categories | none | sections | tags | tree
orderstringrequired
activity | chronological | manual | status | votes
summarystring[]required
whoCreatesstringrequired
anyone | members | staff
unknownstring[]required
defaultKindstringrequired
jsonSchemaobjectrequired
overrideobjectrequired
Show child parameters
blockTypesobject
Show child parameters
addBlockType[]
omitstring[]
orderstring[]
setobject
unsetobject
paramsobject
Show child parameters
addSpaceTypeField[]
omitstring[]
orderstring[]
setobject
unsetobject
sectionsobject
Show child parameters
addSpaceTypeSection[]
omitstring[]
orderstring[]
setobject
unsetobject
spaceobject
Show child parameters
indexstring
board | landing | list | single
navstring
categories | none | sections | tags | tree
orderstring
activity | chronological | manual | status | votes
summarystring[]
whoCreatesstring
anyone | members | staff
presetsobject[]required
Show child parameters
descriptionstringrequired
labelstringrequired
layoutobject[]
namestringrequired
ownbooleanrequired
sectionsKindSlot[]required
Show child parameters
keystringrequired
kindstringrequired
list | prose | steps | table
labelstringrequired
requiredbooleanrequired
rolestring
example | prerequisite | reference | resolution | summary | symptom
settingsobject
Show child parameters
blockLibraryboolean
defaultSortstring
defaultVisibilitystring
internal | preview | public
groupstring
iconstring
listColumnsstring[]
orderableboolean
previewUrlstring
routableboolean
searchableFieldsstring[]
singletonboolean
slugFieldstring
strictboolean
titleFieldstring
versionsobject
shapeobjectrequired
Show child parameters
blockTypesBlockType[]required
Show child parameters
descriptionstring
fieldsSpaceTypeField[]required
groupstring
iconstring
keystringrequired
labelstringrequired
variantsBlockVariant[]
paramsSpaceTypeField[]required
Show child parameters
acceptstring[]
adminobject
allowedstring[]
allowedBlocksstring[]
allowedGroupsstring[]
columnboolean
conditionstring | number | boolean | string | number | boolean | object[] | object[] | object
defaultobject
exprstring | number | boolean | string | number | boolean | object[] | object[] | object
facetboolean
fieldsSpaceTypeField[]
fromstring
hasManyboolean
hintstring
indexedboolean
internalboolean
keystringrequired
labelstringrequired
languagestring
localizedboolean
maxnumber
maxLengthnumber
metaboolean
minnumber
minLengthnumber
optionsstring[]
patternstring
placeholderstring
relationSpaceIdstring
requiredboolean
rowLabelFieldstring
schemaobject
schemaPropertystring
sortableboolean
toReferenceTarget[]
typestringrequired
array | blocks | boolean | code | color | computed | date | datetime | email | file | form | group | hours | image | json | link | media | money | multiselect | number | place | reference | relation | richText | select | seo | slug | text | textarea | url
uniqueboolean
visibilitystring
internal | preview | public
sectionsSpaceTypeSection[]required
Show child parameters
examplestring
hintstring
keystringrequired
kindstringrequired
list | prose | steps | table
labelstringrequired
renderstring
labelled | lede | plain
requiredboolean
rolestring
example | prerequisite | reference | resolution | summary | symptom
schemaPropertystring
settingsobject
Show child parameters
blockLibraryboolean
defaultSortstring
defaultVisibilitystring
internal | preview | public
groupstring
400 The request could not be understood — a malformed header, path or query value (request.malformed). A value that was understood but is not acceptable is a 422 validation.failed.
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {},
    "docs": "string",
    "reason": "string",
    "slugs": [
      "string"
    ],
    "conflict": {
      "etag": "string",
      "ops": [
        null
      ]
    }
  },
  "requestId": "string"
}
401 No credential, or one that is expired or revoked (auth.required). Send a Bearer token or the session cookie.
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {},
    "docs": "string",
    "reason": "string",
    "slugs": [
      "string"
    ],
    "conflict": {
      "etag": "string",
      "ops": [
        null
      ]
    }
  },
  "requestId": "string"
}
403 Authenticated, and not allowed — always rbac.forbidden, whether what is missing is the capability, the token scope, or a resource the token is pinned away from. The message names the capability and, for a scope refusal, the scopes that would grant it. A refusal because of the PLAN is a 402 with quota.exceeded, not this.
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {},
    "docs": "string",
    "reason": "string",
    "slugs": [
      "string"
    ],
    "conflict": {
      "etag": "string",
      "ops": [
        null
      ]
    }
  },
  "requestId": "string"
}
404 No such thing — one of the ids in the path does not resolve, or resolves to something this caller may not see (*.not_found).
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {},
    "docs": "string",
    "reason": "string",
    "slugs": [
      "string"
    ],
    "conflict": {
      "etag": "string",
      "ops": [
        null
      ]
    }
  },
  "requestId": "string"
}
422 The body was understood and a value is unacceptable (validation.failed). error.details names the field paths.
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {},
    "docs": "string",
    "reason": "string",
    "slugs": [
      "string"
    ],
    "conflict": {
      "etag": "string",
      "ops": [
        null
      ]
    }
  },
  "requestId": "string"
}
429 Rate limited — see the RateLimit-* headers.
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {},
    "docs": "string",
    "reason": "string",
    "slugs": [
      "string"
    ],
    "conflict": {
      "etag": "string",
      "ops": [
        null
      ]
    }
  },
  "requestId": "string"
}
default Error — the stable { error: { code, message } } envelope.
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {},
    "docs": "string",
    "reason": "string",
    "slugs": [
      "string"
    ],
    "conflict": {
      "etag": "string",
      "ops": [
        null
      ]
    }
  },
  "requestId": "string"
}
The Forumulate teamUpdated