curl --request PATCH \
--url https://api.latitude.sh/projects/{project_id}/user_data/{user_data_id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"data": {
"id": "<string>",
"type": "user_data",
"attributes": {
"description": "<string>",
"content": "<string>"
}
}
}'
{
"data": {
"id": "<string>",
"type": "user_data",
"attributes": {
"description": "<string>",
"content": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}
},
"meta": {}
}
Allow you update User Data in a project.
curl --request PATCH \
--url https://api.latitude.sh/projects/{project_id}/user_data/{user_data_id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"data": {
"id": "<string>",
"type": "user_data",
"attributes": {
"description": "<string>",
"content": "<string>"
}
}
}'
{
"data": {
"id": "<string>",
"type": "user_data",
"attributes": {
"description": "<string>",
"content": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}
},
"meta": {}
}
Show child attributes
Was this page helpful?