Updates the capacity of the specified user.
Updates the capacity of the specified user. The capacity is stored for the user's planning. <Check title="Required Permissions" icon="key">The user must have permission to access the requested resource.</Check>
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
userId
The user whose capacity should be updated.
Request
Updated capacity values for each day of the week.
mon
The user's capacity on Monday, in seconds.
tue
The user's capacity on Tuesday, in seconds.
wed
The user's capacity on Wednesday, in seconds.
thu
The user's capacity on Thursday, in seconds.
fri
The user's capacity on Friday, in seconds.
sat
The user's capacity on Saturday, in seconds.
sun
The user's capacity on Sunday, in seconds.
capacityPerWeekDeprecated
Backward compatibility property.
The capacity of the user per week, in seconds.
If this value is null, and all the daily values are null as well, then the default value will be set to the default
value.
Response
OK
userId
The id of the user this capacity belongs to.
weeklyCapacity
createdOn
The date this user capacity was created.
createdBy
The id of the user who created this user capacity.
updatedOn
The date when this user capacity was last updated.
updatedBy
The id of the user who updated the user capacity.
capacityPerWeekDeprecated
The capacity of the user per week, in seconds.
Errors
401
Unauthorized Error

