cURL
curl --request PATCH \
--url http://localhost:8081/admin-service/users/{id}/profiles/{profileId}/approve \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('http://localhost:8081/admin-service/users/{id}/profiles/{profileId}/approve', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:8081/admin-service/users/{id}/profiles/{profileId}/approve"
payload = {}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)Patch admin serviceusers profiles approve
Approve user profile
PATCH
/
admin-service
/
users
/
{id}
/
profiles
/
{profileId}
/
approve
cURL
curl --request PATCH \
--url http://localhost:8081/admin-service/users/{id}/profiles/{profileId}/approve \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('http://localhost:8081/admin-service/users/{id}/profiles/{profileId}/approve', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:8081/admin-service/users/{id}/profiles/{profileId}/approve"
payload = {}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)