Show examples in:
JavascriptHTTP
Dashboard API > Project

Project

Warning: Experimental API

Please note that the Dashboard API is an experimental, prerelease API. This API method is considered unstable, and should be avoided in production environments and automations. Changes may occur at any time without warning.

A project represents a specific DatoCMS administrative area

Object payload

idstring

ID of site

Example:"155"
typestring

Must be exactly "site".

namestring

Site name

Example:"My blog"
domainstring, null

Site domain

Example:"admin.foobar.com"
internal_domainstring

Internal project domain

Example:"clueless-star-1231.admin.datocms.com"
last_data_change_at

Specifies the last time when a change of data occurred

Type:null, date-time
access_tokennull, string

Access token

created_at

Date of project creation

Type:null, date-time
deactivatedboolean

Status of project according to billing situation

internal_subdomainstring

Internal project subdomain

Example:"clueless-star-1231"
is_public_templateboolean

Whether the project can be used as a public template

statusenum

Status of the project

Example:"ready"
creating

The project is being forked

ready

The project is ready

destroying

The project is being destroyed

meta.last_data_change_at

Specifies the last time when a change of data occurred

Type:null, date-time
Example:"2017-03-30T09:29:14.872Z"
meta.created_at

The creation date of the site

Type:null, date-time
Example:"2017-03-30T09:29:14.872Z"
meta.deactivatednull, boolean

True when the site has been deactivated

meta.statusstring

Site status

meta.ownerobject
meta.require_2faboolean

True if the site requires 2FA to enter

active_subscription
Type:null, <a href="/docs/content-management-api/resources/site_subscription">ResourceLinkage&#x3C;"site_subscription"></a>
active_plan
Type:null, <a href="/docs/content-management-api/resources/site_plan">ResourceLinkage&#x3C;"site_plan"></a>
transfer
Type:<a href="/docs/content-management-api/resources/site_transfer">ResourceLinkage&#x3C;"site_transfer"></a>, null
readwrite_tokennull, stringDeprecated

Read-write API token

Built-in factory tokens are deprecated. To get a token for this project, list its API tokens and pick one with the role you need.

readonly_tokennull, stringDeprecated

Read-only API token

Built-in factory tokens are deprecated. To get a token for this project, list its API tokens and pick one with the role you need.

Available endpoints