# Update worker channel **POST /v1/Workspaces/{WorkspaceSid}/Workers/{WorkerSid}/Channels/{Sid}** ## Servers - https://taskrouter.twilio.com: https://taskrouter.twilio.com () ## Authentication methods - Account sid auth token ## Parameters ### Path parameters - **WorkspaceSid** (string) The SID of the Workspace with the WorkerChannel to update. - **WorkerSid** (string) The SID of the Worker with the WorkerChannel to update. - **Sid** (string) The SID of the WorkerChannel to update. ### Body: application/x-www-form-urlencoded (object) - **Capacity** (integer) The total number of Tasks that the Worker should handle for the TaskChannel type. TaskRouter creates reservations for Tasks of this TaskChannel type up to the specified capacity. If the capacity is 0, no new reservations will be created. - **Available** (boolean) Whether the WorkerChannel is available. Set to `false` to prevent the Worker from receiving any new Tasks of this TaskChannel type. ## Responses ### 200 OK #### Headers - **X-Rate-Limit-Limit** (string) - **X-Rate-Limit-Remaining** (string) - **X-Rate-Limit-Config** (string) - **Access-Control-Allow-Origin** (string) Specify the origin(s) allowed to access the resource - **Access-Control-Allow-Methods** (string) Specify the HTTP methods allowed when accessing the resource - **Access-Control-Allow-Headers** (string) Specify the headers allowed when accessing the resource - **Access-Control-Allow-Credentials** (boolean) Indicates whether the browser should include credentials - **Access-Control-Expose-Headers** (string) Headers exposed to the client #### Body: application/json (object) - **account_sid** (string | null) The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Worker resource. - **assigned_tasks** (integer) The total number of Tasks assigned to Worker for the TaskChannel type. - **available** (boolean | null) Whether the Worker should receive Tasks of the TaskChannel type. - **available_capacity_percentage** (integer) The current percentage of capacity the TaskChannel has available. Can be a number between `0` and `100`. A value of `0` indicates that TaskChannel has no capacity available and a value of `100` means the Worker is available to receive any Tasks of this TaskChannel type. - **configured_capacity** (integer) The current configured capacity for the WorkerChannel. TaskRouter will not create any reservations after the assigned Tasks for the Worker reaches the value. - **date_created** (string(date-time) | null) The date and time in GMT when the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. - **date_updated** (string(date-time) | null) The date and time in GMT when the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. - **sid** (string | null) The unique string that we created to identify the WorkerChannel resource. - **task_channel_sid** (string | null) The SID of the TaskChannel. - **task_channel_unique_name** (string | null) The unique name of the TaskChannel, such as `voice` or `sms`. - **worker_sid** (string | null) The SID of the Worker that contains the WorkerChannel. - **workspace_sid** (string | null) The SID of the Workspace that contains the WorkerChannel. - **url** (string(uri) | null) The absolute URL of the WorkerChannel resource. [Powered by Bump.sh](https://bump.sh)