SupportDeveloper ForumLogin
  • Overview
    • Introduction
    • Getting Started
    • Authentication
    • Error Handling
    • Pagination
    • Filtering
    • Ordering
    • Rate Limits
    • Permissions
    • Webhooks
    • MCP Server
    • Versioning
    • Changelog
    • Support
  • API v1 Reference
    • Projects Overview
    • Tasks Overview
    • Time Tracking Overview
    • Documents Overview
    • Search Overview
    • Companies Overview
    • Users Overview
    • Files & Images Overview
    • Custom Fields Overview
    • Workload & Planning Overview
    • Project Templates Overview
    • Login & Access Overview
    • API Management Overview
LogoLogo
SupportDeveloper ForumLogin
API v1 ReferenceClient Applications

Updates the client application with the specified id.

PUT
https://api.awork.com/api/v1/clientapplications/:clientId
PUT
/api/v1/clientapplications/:clientId
1curl -X PUT https://api.awork.com/api/v1/clientapplications/integration \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{}'
Try it
200Updated
1{
2 "clientId": "integration",
3 "displayName": "Awork integration",
4 "redirectUris": [
5 "https://awork.com/callback"
6 ],
7 "isConfidential": true,
8 "createdOn": "2022-03-14T16:40:40.100Z",
9 "updatedOn": "2022-03-25T11:15:00.100Z"
10}
Updates the client application with the specified id. <Check title="Required Permissions">The user must be an admin or have `workspace-manage-config:write` permissions.</Check>
Was this page helpful?
Previous

Deletes the specified client application.

Next
Built with
Deletes the specified client application.

Updates the client application with the specified id.

Required Permissions
The user must be an admin or have workspace-manage-config:write permissions.

Path parameters

clientIdstringRequired
The id of the client application.

Headers

AuthorizationstringRequired
Bearer authentication of the form `Bearer <token>`, where token is your auth token.

Request

The client application model.
displayNamestring or nullOptional
The client application's display name.
redirectUrislist of strings or nullOptional
The redirect URIs.

Response

OK
clientIdstring or null
The client application's identifier.
displayNamestring or null
The client application's display name.
redirectUrislist of strings or null
The redirect URIs.
isConfidentialboolean or null
Indicates whether the client application is confidential. Backend integrations are considered confidential as the secret is never shipped to a user, while web apps or CLI integrations are not.
createdOnstring or nullformat: "date-time"
The date this entity was created.
updatedOnstring or nullformat: "date-time"
The date this entity was last modified.
The id of the client application.
The client application model.
OK

Bearer authentication of the form Bearer <token>, where token is your auth token.