budget
Update an existing budget
patch/v1/org/{orgId}/budget/{budgetId}
Request
- Base URL: https://localhost
- URL: https://localhost/v1/org/{orgId}/budget/{budgetId}
- Auth: none declared
Path parameters
orgIdstring required
Org identifier (either id or slug)
budgetIdstring required
Budget id
Query parameters
datestring date
Date to update budget on (defaults to today)
Request body
Example request
{
"ownerPersonIds": [
"588f7ee98f138b19220041a7"
],
"groupIds": [
"588f7ee98f138b19220041a7"
],
"shareAccess": [
{
"userId": "5887a7718f138b6a2a0041a7",
"groupId": "5887a7718f138b6a2a0041a7",
"fields": "name,image,title"
}
]
}Response
updated
Example response
{
"id": "588f7ee98f138b19220041a7",
"orgId": "588f7ee98f138b19220041a7",
"ownerPersonIds": [
"588f7ee98f138b19220041a7"
],
"groupIds": [
"588f7ee98f138b19220041a7"
],
"shareAccess": [
{
"userId": "5887a7718f138b6a2a0041a7",
"groupId": "5887a7718f138b6a2a0041a7",
"fields": "name,image,title"
}
],
"createId": "588f7ee98f138b19220041a7",
"createBehalfId": "588f7ee98f138b19220041a7",
"createAttribution": {
"principalUserId": "588f7ee98f138b19220041a7",
"agentUserIds": [
"588f7ee98f138b19220041a7"
],
"eventId": "588f7ee98f138b19220041a7",
"aiChatId": "588f7ee98f138b19220041a7"
},
"createAt": "2017-01-24T13:57:52Z",
"updateId": "588f7ee98f138b19220041a7",
"updateBehalfId": "588f7ee98f138b19220041a7",
"updateAttribution": {
"principalUserId": "588f7ee98f138b19220041a7",
"agentUserIds": [
"588f7ee98f138b19220041a7"
],
"eventId": "588f7ee98f138b19220041a7",
"aiChatId": "588f7ee98f138b19220041a7"
},
"updateAt": "2017-01-24T13:57:52Z"
}Changes
No recorded changes to this operation across all 22 revisions of this API.