Skip to content

Create a Project

Request

Admin roles:
  • access_admin

Creates a Project for your Team

Security
bearerAuth
Path
team_namestringrequired

The name of your Team

Bodyapplication/jsonrequired
create_server_usersboolean or null

(Optional) Whether to create Server Users for Users in this Project. Defaults to false. If false, you must ensure that accounts exist on the Server for each User.

forward_trafficboolean or null

If true, forwards traffic to all Servers in the Project through a specified Gateway. Default is false.

namestring, (regex), [ 1 .. 255 ] characters^[\w\-_.]+$required

The name of the Project

next_unix_gidinteger or null, (int32), [ 100 .. 65535 ]

(Optional) The GID used when creating a Server User

next_unix_uidinteger or null, (int32), [ 100 .. 65535 ]

(Optional) The UID used when creating a Server User

rdp_session_recordingboolean or null

(Optional) If true, enables recording of all RDP sessions to Servers in this Project. Default is false. This feature is currently in EA.

require_preauth_for_credsboolean or null

(Optional) If true, the Project requires preauthorization before a User can access a Server. Default is false.

ssh_certificate_typestring or null(SSHCertificateType)

(Optional) The type of signature algorithm used for authentication keys. Default is CERT_TYPE_ED25519_01.

Enum:"CERT_TYPE_ECDSA_256_01""CERT_TYPE_ECDSA_384_01""CERT_TYPE_ECDSA_521_01""CERT_TYPE_ED25519_01""CERT_TYPE_RSA_01""CERT_TYPE_RSA_SHA2_256_01""CERT_TYPE_RSA_SHA2_512_01"
ssh_session_recordingboolean or null

(Optional) If true, enables recording of all SSH sessions to Servers in this Project. Default is false.

user_on_demand_periodinteger or null, (int64), <= 4294967295

(Optional) The time period in seconds before an on-demand user account expires and is removed from a Server. 0 if disabled. This is the default,

curl -i -X POST \
  'https://app.scaleft.com/v1/teams/{team_name}/projects' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "create_server_users": true,
    "deleted_at": null,
    "force_shared_ssh_users": false,
    "forward_traffic": true,
    "gateway_selector": null,
    "id": "",
    "name": "the-sound-and-the-fury",
    "next_unix_gid": null,
    "next_unix_uid": 0,
    "rdp_session_recording": true,
    "require_preauth_for_creds": true,
    "shared_admin_user_name": null,
    "shared_standard_user_name": null,
    "ssh_session_recording": true,
    "team": "william-faulkner",
    "user_on_demand_period": null
  }'

Responses

Created

Bodyapplication/json
create_server_usersboolean or null

(Optional) Whether to create Server Users for Users in this Project. Defaults to false. If false, you must ensure that accounts exist on the Server for each User.

deleted_atstring or null, (date-time)read-only

A timestamp indicating when the Project was deleted

forward_trafficboolean or null

If true, forwards traffic to all Servers in the Project through a specified Gateway. Default is false.

idstring, (regex)^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-...read-onlyrequired

The UUID of the Project

namestring, (regex), [ 1 .. 255 ] characters^[\w\-_.]+$required

The name of the Project

next_unix_gidinteger or null, (int32), [ 100 .. 65535 ]

(Optional) The GID used when creating a Server User

next_unix_uidinteger or null, (int32), [ 100 .. 65535 ]

(Optional) The UID used when creating a Server User

rdp_session_recordingboolean or null

(Optional) If true, enables recording of all RDP sessions to Servers in this Project. Default is false. This feature is currently in EA.

require_preauth_for_credsboolean or null

(Optional) If true, the Project requires preauthorization before a User can access a Server. Default is false.

ssh_certificate_typestring or null(SSHCertificateType)

(Optional) The type of signature algorithm used for authentication keys. Default is CERT_TYPE_ED25519_01.

Enum:"CERT_TYPE_ECDSA_256_01""CERT_TYPE_ECDSA_384_01""CERT_TYPE_ECDSA_521_01""CERT_TYPE_ED25519_01""CERT_TYPE_RSA_01""CERT_TYPE_RSA_SHA2_256_01""CERT_TYPE_RSA_SHA2_512_01"
ssh_session_recordingboolean or null

(Optional) If true, enables recording of all SSH sessions to Servers in this Project. Default is false.

teamstring, (regex), [ 1 .. 255 ] characters^[\w\-_.]+$read-onlyrequired

The Team associated with the Project

user_on_demand_periodinteger or null, (int64), <= 4294967295

(Optional) The time period in seconds before an on-demand user account expires and is removed from a Server. 0 if disabled. This is the default,

Response
{ "create_server_users": true, "deleted_at": "0001-01-01T00:00:00Z", "force_shared_ssh_users": false, "forward_traffic": true, "gateway_selector": "env in (dev,prod),region=us-west-2,release notin (canary,stable)", "id": "435a700c-a6cb-4031-82bf-3674beaa9bc9", "name": "the-sound-and-the-fury", "next_unix_gid": 63001, "next_unix_uid": 60001, "rdp_session_recording": true, "require_preauth_for_creds": true, "shared_admin_user_name": null, "shared_standard_user_name": null, "ssh_session_recording": true, "team": "william-faulkner", "user_on_demand_period": 0 }