Objects
Update an object
Objects
Update an object
Updates a single object. The object to be updated is identified by its object_id
.
Required scopes: object_configuration:read-write
.
PATCH
/
v2
/
objects
/
{object}
curl --request PATCH \
--url https://api.attio.com/v2/objects/{object} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"data": {
"api_slug": "people",
"singular_noun": "Person",
"plural_noun": "People"
}
}'
{
"data": {
"id": {
"workspace_id": "14beef7a-99f7-4534-a87e-70b564330a4c",
"object_id": "97052eb9-e65e-443f-a297-f2d9a4a7f795"
},
"api_slug": "people",
"singular_noun": "Person",
"plural_noun": "People",
"created_at": "2022-11-21T13:22:49.061281000Z"
}
}
Authorizations
This API uses OAuth 2.0 with the authorization code grant flow.
Path Parameters
A UUID or slug to identify the object.
Example:
"people"
Body
application/json
A unique, human-readable slug to access the object through URLs and API calls. Should be formatted in snake case.
Example:
"people"
The singular form of the object's name.
Minimum length:
1
Example:
"Person"
The plural form of the object's name.
Minimum length:
1
Example:
"People"
Response
200
application/json
Success
A unique, human-readable slug to access the object through URLs and API calls. Formatted in snake case.
Example:
"people"
The singular form of the object's name.
Example:
"Person"
The plural form of the object's name.
Example:
"People"
When the object was created.
Example:
"2022-11-21T13:22:49.061281000Z"
Was this page helpful?
curl --request PATCH \
--url https://api.attio.com/v2/objects/{object} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"data": {
"api_slug": "people",
"singular_noun": "Person",
"plural_noun": "People"
}
}'
{
"data": {
"id": {
"workspace_id": "14beef7a-99f7-4534-a87e-70b564330a4c",
"object_id": "97052eb9-e65e-443f-a297-f2d9a4a7f795"
},
"api_slug": "people",
"singular_noun": "Person",
"plural_noun": "People",
"created_at": "2022-11-21T13:22:49.061281000Z"
}
}