Rivier/ Reference/ workspace

Workspace resource move

post/projects/{projectId}/resources/{type}/{rid}/move

Move a resource to another project of the same organisation (an owner or an admin of the organisation; a person, never a key).

Before you call

Credential
Authorization: Bearer $KEY
Scope
workspace:write
Sdk
workspace.resource.move
Cli
workspace resource move

Parameters

  • projectIdstring (uuid)required
    In the path
  • typestringrequired
    In the path
  • ridstringrequired
    In the path

Request bodyapplication/json, required

  • toProjectstring (uuid)required

Responses

  • 200application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown