Update company
Edit the company
Authorizations
Body
namestringOptionalDefault:
The New Shirewebsite_urlstringOptionalDefault:
https://50skills.thenewshire.comlogostring · uriOptionalDefault:
https://s3-eu-west-1.amazonaws.com/50-journeys-static/public/jZxwxtwl/logo/the-new-theshire-logo-v2.pngResponses
200Success
application/json
401
Unauthorized
404
Not found
patch
v1/company/
import requests
response = requests.patch(
"https://journeys-api.50skills.app/v1/company/",
json={
"name": "The Shire",
}
)
print(response.json())
{
"name": "The New Shire",
"website_url": "https://50skills.thenewshire.com",
"logo": "https://s3-eu-west-1.amazonaws.com/50-journeys-static/public/jZxwxtwl/logo/the-new-theshire-logo-v2.png"
}Request samples
{
"name":"The New Shire",
"websiteUrl":"https://thenewshire.50skills.com",
"logo":"https://s3-eu-west-1.amazonaws.com/50-journeys-static/public/jZzwxywD/logo/theshire-logo-v2.png"
}import requests
response = requests.patch(
"https://journeys-api.50skills.app/v1/company/",
json={
"name": "The Shire",
"websiteUrl": "https://thenewshire.50skills.com",
"logo": "https://s3-eu-west-1.amazonaws.com/50-journeys-static/public/jZzwxywD/logo/theshire-logo-v2.png"
}
)
print(response.json()) fetch("https://journeys.api.50skills.com/v1/company/", {
method: "PATCH",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"name": "The New Shire",
"websiteUrl": "https://thenewshire.50skills.com",
"logo": "https://s3-eu-west-1.amazonaws.com/50-journeys-static/public/jZzwxywD/logo/theshire-logo-v2.png"
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error(error));; Response samples
{
"name":"The New Shire",
"websiteUrl":"https://thenewshire.50skills.com",
"logo":"https://s3-eu-west-1.amazonaws.com/50-journeys-static/public/jZzwxywD/logo/theshire-logo-v2.png"
}Last updated