Skip to content

UpdateOwner

PATCH/api/v1/owner

Change which user owns the organization.

Example request

curl -X PATCH \
-H "Authorization: Bearer ${OBLIQUE_API_KEY}" \
-H "Content-Type: application/json" \
-d '{ "user": "string" }' \
"https://us.oblique.security/api/v1/owner?updateMask=user"

Set OBLIQUE_API_KEY to your API key.

Path parameters

  • owner.namestringrequired

    Assigned by Oblique. Always the single string “owner”.

Query parameters

  • updateMaskstring (field-mask)

    The list of fields to update.

Request body

  • userstringrequired

    The user that’s designated as the server owner. Always required when updating, but may be empty during initial provisioning.

    Format: users/{user}

  • createTimestring (date-time)read-only

    The time this API object was created.

  • updateTimestring (date-time)read-only

    The time this API object was last updated.

Response

200Owner

Owner is the primary point of contact for the Oblique server.

This API is a singleton resource, and as such only supports Get and Update methods.

  • namestring

    Assigned by Oblique. Always the single string “owner”.

  • userstringrequired

    The user that’s designated as the server owner. Always required when updating, but may be empty during initial provisioning.

    Format: users/{user}

  • createTimestring (date-time)read-only

    The time this API object was created.

  • updateTimestring (date-time)read-only

    The time this API object was last updated.

Errors

StatusMeaning
400Malformed request
401Missing or invalid API key
403Not allowed for this API key
404Not found
429Too many requests
500Internal server error