Users
post/v1/user/saveTemplate

Request

  • Base URL
    https://console-api-sandbox.akash.network
  • URL
    https://console-api-sandbox.akash.network/v1/user/saveTemplate
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Headers

x-organization-idstring

Id or slug of the organization the request runs in. Defaults to the organization used last, or the caller's personal one. Answers 403 organization_forbidden when the caller is not a member, and 400 organization_mismatch when it names another organization than the API key's.

x-project-idstring uuid

Id of a project of the active organization to limit the request to. Answers 403 project_forbidden when the caller cannot reach the project, or the API key is limited to another one.

Request body

idstring uuid
sdlstring required
titlestring required
cpuinteger required
raminteger required
storageinteger required
isPublicboolean required
descriptionstring
projectIdstring uuid

Project to file a new template in. A template that already exists stays in its project.

Response

Template saved successfully

Changes

    • info

      added the new optional header request parameter x-organization-id

    • info

      added the new optional header request parameter x-project-id

    • info

      added the new optional request property

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status