Get User Service By ID
GET /api/userService/:id
​
Retrieve a specific user service by its ID.
Response​
- 200 OK
{ "success": true, "data": { /* user service object */ } }
- 404 Not Found
{ "success": false, "error": "User Service not found" }
- 500 Internal Server Error
{ "success": false, "error": "Internal Server Error" }
User Service object​
{
"id": 1,
"user_id": 1,
"service_id": 1,
"oauth_account_id", 1,
"created_at": 2024-06-10T12:00:00.000Z
}
Example​
curl -X GET http://localhost:8080/api/userService/1 \
--cookie "token=your_jwt_token"