curl --request PUT \
--url https://api.helpyousponsor.com/v1/client/admins/{admin_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "admin@gmail.com",
"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
The body is of type object
.
Admin details updated successfully
The response is of type object
.
curl --request PUT \
--url https://api.helpyousponsor.com/v1/client/admins/{admin_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "admin@gmail.com",
"first_name": "John",
"last_name": "Doe",
"group_id": "1",
"client_id": "1",
"id": 1
}'
{
"message": "Admin details updated successfully"
}