curl --request PUT \
--url https://api.helpyousponsor.com/v1/client/admins/{admin_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "[email protected]",
"first_name": "John",
"last_name": "Doe",
"group_id": "1",
"client_id": "1",
"id": 1
}
'{
"message": "Admin details updated successfully"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the admin to be edited
Admin details to be edited
Admin details updated successfully
"Admin details updated successfully"
curl --request PUT \
--url https://api.helpyousponsor.com/v1/client/admins/{admin_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "[email protected]",
"first_name": "John",
"last_name": "Doe",
"group_id": "1",
"client_id": "1",
"id": 1
}
'{
"message": "Admin details updated successfully"
}