Skip to content

UpdateApplicationPartOptions

Luis Huertas edited this page Feb 7, 2022 · 1 revision

Update the options of a part

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'

Request

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

Response

{
  "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
Clone this wiki locally