-
Notifications
You must be signed in to change notification settings - Fork 0
UpdateApplicationPartOptions
Luis Huertas edited this page Feb 7, 2022
·
1 revision
Updates the options that a part has.
Base Url : http://your-app-base-url.com
Endpoint : /auth/part/:id/option
Method : PUT
Auth required : Yes
header key | header value | description |
---|---|---|
Authorization | BEARER jwtToken | access_token generated using /token
|
Permissions required : Access string 'OAUTH2_application:update'
type: body
{
"newPartOptions": [{ "allowed": "*" }, { "allowed": "process" }],
"originalPartOptions": [{ "allowed": "*" }]
}
Request Fields Description
key | value | description |
---|---|---|
newPartOptions | Object | An object array of the new part options |
originalPartOptions | Object | An object array of the original part options |
{
"code": 200001,
"message": "Part options updated"
}
Response Fields Description
key | value | description |
---|---|---|
code | 200001 | result code |
message | Part options updated | result message |
Response codes
- If response is success, http status will be 201 and code in body will be 200001
code | description |
---|---|
500000 | Not categorized error |
200001 | Part options were updated |