Modify Patch User Operation Using PATCH

Modify Patch User Operation Using PATCH

Modify a User Operation with the given id

Request
URI
PATCH
http://cava-s-182-041.eng.vmware.com//codestream/api/user-operations/{id}
COPY
Path Parameters
string
id
Required

The ID of the User Operation

Query Parameters
string
apiVersion
Optional

The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about


Request Body
UserOpResponse of type(s) application/json
Optional
{
    "responseMessage": "Approved on Monday.",
    "status": "Approved"
}
string
responseMessage
Optional

The response message which the responder would like to give.

string
status
Optional

The status of this entity.

Authentication
This operation uses the following authentication methods.
Responses
200

'Success' with the modified User Operation

Returns UserOpResource of type(s) */*
{
    "approverGroups": [
        "string"
    ],
    "approvers": [
        "string"
    ],
    "changeLog": "string",
    "comments": "string",
    "createdAt": "string",
    "createdBy": "string",
    "description": "string",
    "endpoint": "string",
    "executionId": "string",
    "executionIndex": 0,
    "expirationInDays": 0,
    "expirationInSeconds": 0,
    "expiresOnInMicros": 0,
    "id": "string",
    "index": "string",
    "message": "string",
    "name": "string",
    "orgId": "string",
    "parentId": "string",
    "pipeline": "string",
    "pipelineId": "string",
    "projectId": "string",
    "requestedBy": "string",
    "requestedOnInMicros": 0,
    "respondedBy": "string",
    "respondedByEmail": "string",
    "respondedOnInMicros": 0,
    "responderRoles": [
        "string"
    ],
    "resumeCount": 0,
    "sendemail": false,
    "stageKey": "string",
    "status": "string",
    "summary": "string",
    "tags": [
        "string"
    ],
    "taskExecutionId": "string",
    "taskKey": "string",
    "updatedAt": "string",
    "updatedBy": "string",
    "version": "string"
}
array of string
approverGroups
Optional

approverGroups

array of string
approvers
Optional

approvers

string
changeLog
Optional

changeLog

string
comments
Optional

comments

string As date-time As date-time
createdAt
Optional

createdAt

string
createdBy
Optional

createdBy

string
description
Optional

description

string
endpoint
Optional

endpoint

string
executionId
Optional

executionId

integer As int64 As int64
executionIndex
Optional

executionIndex

integer As int32 As int32
expirationInDays
Optional

expirationInDays

integer As int64 As int64
expirationInSeconds
Optional

expirationInSeconds

integer As int64 As int64
expiresOnInMicros
Optional

expiresOnInMicros

string
id
Optional

id

string
index
Optional

index

string
message
Optional

message

string
name
Optional

name

string
orgId
Optional

orgId

string
parentId
Optional

parentId

string
pipeline
Optional

pipeline

string
pipelineId
Optional

pipelineId

string
projectId
Optional

projectId

string
requestedBy
Optional

requestedBy

integer As int64 As int64
requestedOnInMicros
Optional

requestedOnInMicros

string
respondedBy
Optional

respondedBy

string
respondedByEmail
Optional

respondedByEmail

integer As int64 As int64
respondedOnInMicros
Optional

respondedOnInMicros

array of string
responderRoles
Optional

responderRoles

integer As int32 As int32
resumeCount
Optional

resumeCount

boolean
sendemail
Optional

sendemail

string
stageKey
Optional

stageKey

string
status
Optional

status

Possible values are : ACTIVE, APPROVED, CANCELED, EXPIRED, REJECTED,
string
summary
Optional

summary

array of string
tags
Optional

tags

string
taskExecutionId
Optional

taskExecutionId

string
taskKey
Optional

taskKey

string As date-time As date-time
updatedAt
Optional

updatedAt

string
updatedBy
Optional

updatedBy

string
version
Optional

version


401

Unauthorized Request

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure

500

Server Error

Operation doesn't return any data structure