Skip to main content
Version: v5.3

withLocation

A 202 can carry a body and a Location: aosvc's PUT /permissions answers with the permissions it wrote and points at the queued task. The body is what callers have always received; the Location is added to it as a non-enumerable , so JSON.stringify and deep comparisons see no change. Anything that is not a plain object is returned as it is.

ParameterRequiredTypeDescription
bodyYesundefined
headersYesundefined