Basic profile
PATCH
/role/{roleId}
const url = 'https://api.harperharbor.com/open/v1/role/example';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"roleName":"example","roleDesc":"example","roleTag":"example","userName":"example","roleDetailDesc":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.harperharbor.com/open/v1/role/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "roleName": "example", "roleDesc": "example", "roleTag": "example", "userName": "example", "roleDetailDesc": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”roleId
required
string
Request Body
Section titled “Request Body”Media typeapplication/json
object
roleName
string
roleDesc
string
roleTag
string
userName
string
roleDetailDesc
string
Examplegenerated
{ "roleName": "example", "roleDesc": "example", "roleTag": "example", "userName": "example", "roleDetailDesc": "example"}Responses
Section titled “Responses”Only sent fields change.