cURL
curl --request PATCH \ --url https://www.ruddr.io/api/workspace/opportunity-types/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "description": "<string>", "isActive": true } '
200
Result
{ "id": "7f3a1c82-9d4e-4b61-a2f8-d5c0e9b73421", "name": "New Business", "description": "Opportunities with first-time customers.", "isActive": true, "createdAt": "2024-07-26T22:05:09.160Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The opportunity type uuid
uuid
The name of the opportunity type.
The description of the opportunity type.
Whether the opportunity type is active.
The unique identifier for the object.
The timestamp when the object was created.