Content-Type
application/json
200
OK - Success.
401
MISSING_CREDENTIALS - The request body is missing client_id, client_secret, or both.
401
CREDENTIALS_NOT_FOUND - The credentials supplied are not valid.
401
NOT_AUTHORIZED - You do not have permission to perform this action.
400
NOT_SAVED - There was an error saving the resource. Either the resource did not pass validation or there was a server error preventing it from being saved. Check the request and try again.
400
NOT_UPDATED - There was an error saving the resource. Either the resource did not pass validation or there was a server error preventing it from being saved. Check the request and try again.
400
NOT_DELETED - There was an error deleting the resource. Check the request and try again.
{domain_id}(Optional) The unique ID of the domain.
Example: https://networkcalc.com/api/domains/123/subdomains
{subdomain_prefix}
The prefix for the domain. For example, if the domain is networkcalc.com, the subdomain prefix for my.demo.networkcalc.com would be my.demo.
Example: https://networkcalc.com/api/domains/123/subdomains/my.demo
200
OK - Success.
401
MISSING_CREDENTIALS - The request body is missing client_id, client_secret, or both.
401
CREDENTIALS_NOT_FOUND - The credentials supplied are not valid.
401
NOT_AUTHORIZED - You do not have permission to perform this action.
400
NOT_SAVED - There was an error saving the resource. Either the resource did not pass validation or there was a server error preventing it from being saved. Check the request and try again.
400
NOT_UPDATED - There was an error saving the resource. Either the resource did not pass validation or there was a server error preventing it from being saved. Check the request and try again.
400
NOT_DELETED - There was an error deleting the resource. Check the request and try again.
{domain_id}(Optional) The unique ID of the domain.
Example: https://networkcalc.com/api/domains/123/subdomains
200
OK - Success.
401
MISSING_CREDENTIALS - The request body is missing client_id, client_secret, or both.
401
CREDENTIALS_NOT_FOUND - The credentials supplied are not valid.
401
NOT_AUTHORIZED - You do not have permission to perform this action.
400
NOT_SAVED - There was an error saving the resource. Either the resource did not pass validation or there was a server error preventing it from being saved. Check the request and try again.
400
NOT_UPDATED - There was an error saving the resource. Either the resource did not pass validation or there was a server error preventing it from being saved. Check the request and try again.
400
NOT_DELETED - There was an error deleting the resource. Check the request and try again.
{domain_id}(Optional) The unique ID of the domain.
Example: https://networkcalc.com/api/domains/123/subdomains
{subdomain_id}(Optional) The unique ID of the subddomain.
Example: https://networkcalc.com/api/domains/subdomains/456
200
OK - Success.
401
MISSING_CREDENTIALS - The request body is missing client_id, client_secret, or both.
401
CREDENTIALS_NOT_FOUND - The credentials supplied are not valid.
401
NOT_AUTHORIZED - You do not have permission to perform this action.
400
NOT_SAVED - There was an error saving the resource. Either the resource did not pass validation or there was a server error preventing it from being saved. Check the request and try again.
400
NOT_UPDATED - There was an error saving the resource. Either the resource did not pass validation or there was a server error preventing it from being saved. Check the request and try again.
400
NOT_DELETED - There was an error deleting the resource. Check the request and try again.
{domain_id}(Optional) The unique ID of the domain.
Example: https://networkcalc.com/api/domains/123/subdomains
{subdomain_id}(Optional) The unique ID of the subddomain.
Example: https://networkcalc.com/api/domains/subdomains/456
Content-Type
application/json
200
OK - Success.
401
MISSING_CREDENTIALS - The request body is missing client_id, client_secret, or both.
401
CREDENTIALS_NOT_FOUND - The credentials supplied are not valid.
401
NOT_AUTHORIZED - You do not have permission to perform this action.
400
NOT_SAVED - There was an error saving the resource. Either the resource did not pass validation or there was a server error preventing it from being saved. Check the request and try again.
400
NOT_UPDATED - There was an error saving the resource. Either the resource did not pass validation or there was a server error preventing it from being saved. Check the request and try again.
400
NOT_DELETED - There was an error deleting the resource. Check the request and try again.
{domain_id}(Optional) The unique ID of the domain.
Example: https://networkcalc.com/api/domains/123/subdomains
200
OK - Success.
401
MISSING_CREDENTIALS - The request body is missing client_id, client_secret, or both.
401
CREDENTIALS_NOT_FOUND - The credentials supplied are not valid.
401
NOT_AUTHORIZED - You do not have permission to perform this action.
400
NOT_SAVED - There was an error saving the resource. Either the resource did not pass validation or there was a server error preventing it from being saved. Check the request and try again.
400
NOT_UPDATED - There was an error saving the resource. Either the resource did not pass validation or there was a server error preventing it from being saved. Check the request and try again.
400
NOT_DELETED - There was an error deleting the resource. Check the request and try again.
{domain_id}(Optional) The unique ID of the domain.
Example: https://networkcalc.com/api/domains/123/subdomains
{subdomain_id}(Optional) The unique ID of the subddomain.
Example: https://networkcalc.com/api/domains/subdomains/456
200
OK - Success.
401
MISSING_CREDENTIALS - The request body is missing client_id, client_secret, or both.
401
CREDENTIALS_NOT_FOUND - The credentials supplied are not valid.
401
NOT_AUTHORIZED - You do not have permission to perform this action.
400
NOT_SAVED - There was an error saving the resource. Either the resource did not pass validation or there was a server error preventing it from being saved. Check the request and try again.
400
NOT_UPDATED - There was an error saving the resource. Either the resource did not pass validation or there was a server error preventing it from being saved. Check the request and try again.
400
NOT_DELETED - There was an error deleting the resource. Check the request and try again.
null. Must be one of: [null, 'daily', 'weekly', 'monthly'].",my.demo for my.demo.networkcalc.com.",true if this subdomain is included in scheduled reports for the domain, false otherwise.",