Update company list
Edit a company list
Authorizations
AuthorizationstringRequired
Token-based authentication with required prefix "Token"
Path parameters
short_idstringRequired
Body
idstringRead-onlyOptional
short_idstringRead-onlyOptional
namestring · max: 255Optional
sourcestring | nullableOptional
num_optionsstringRead-onlyOptional
Responses
200Success
application/json
401
Unauthorized
404
Not found
patch
v1/company/lists/{short_id}/Request samples
{
"name":"Issue types - updated",
"source":"Jira",
"options":[
{
"value":"10003",
"label":"Service request new"
},
{
"value":"10000",
"label":"Epic new"
},
{
"value":"10007",
"label":"System problem new"
}
]
}import requests
response = requests.patch(
"https://journeys-api.50skills.app/v1/company/lists/{short_id}/",
json={
"name": "Issue types - updated",
"source": "Jira",
"options": [
{
"value":"10003",
"label":"Service request new"
},
{
"value":"10000",
"label":"Epic n ew"
},
{
"value":"10007",
"label":"System problem new"
}
],
}
)
print(response.json()) Response samples
Last updated